Reka Horvath
The Name of the Rose
#1about 3 minutes
Why good naming is critical for understanding code
Good names act as an introduction to a domain's core concepts, making code more approachable for newcomers.
#2about 2 minutes
How mental models influence code interpretation
We process code using the same mental shortcuts as natural language, creating meaningful chunks and making assumptions based on names.
#3about 3 minutes
The danger of misleading function names
A function's name must not misrepresent its behavior, such as hiding side effects or returning unexpected types.
#4about 2 minutes
Using specific names instead of general terms
Overly general names like 'process' or 'handle' obscure a function's true purpose and should be replaced with more descriptive alternatives.
#5about 4 minutes
Establishing a one-to-one mapping for concepts
Maintain clarity by assigning exactly one name to each concept, avoiding both synonyms and using one name for multiple different ideas.
#6about 3 minutes
A cautionary tale of catastrophic naming failure
The Knight Capital case illustrates how a seemingly small naming ambiguity, when combined with other system faults, can lead to massive financial loss.
#7about 5 minutes
Designing consistent and intuitive APIs
APIs that are consistent with domain nomenclature or established frameworks are easier for developers to learn and use correctly.
#8about 2 minutes
Keeping names updated as code and business evolve
Names must be re-evaluated and updated when underlying technology or business domain concepts change to prevent them from becoming misleading.
#9about 4 minutes
Summary of key principles for effective naming
The core principles of good naming are to avoid being misleading, consider the reader's perspective, respect context, and maintain names over time.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:53 MIN
Applying principles for practical software design
Modern software architectures
05:40 MIN
Writing readable code through clear naming and structure
Keep your code refactorable
01:42 MIN
Moving beyond the dogma of clean code
Intentional Code - Minimalism in a World of Dogmatic Design
02:03 MIN
Key takeaways and further API design topics
API Design - Getting Started
05:40 MIN
Applying clean code principles for naming and errors
All you need is types
01:40 MIN
Differentiating good and bad reasons for refactoring
Product Managers' Eternal Battle with Refactoring
02:26 MIN
Why developers make basic cybersecurity mistakes
Don't Be A Naive Developer: How To Avoid Basic Cybersecurity Mistakes
04:20 MIN
Introduction to Domain-Driven Design and sustainability
It’s all about the domain, honey ! Experiences from 15 years of Domain-Driven Design
Featured Partners
Related Videos
Intentional Code - Minimalism in a World of Dogmatic Design
David Whitney
Identifying code smells
Benjamin Bischoff
The QUEST for Better Software
Richard Bown
Antipatterns - nemesis of software development
Mustafa Toroman
Shipping Quality Software In Hostile Environments
Luka Kladaric
It’s all about the domain, honey ! Experiences from 15 years of Domain-Driven Design
Carola Lilienthal
Keep your code refactorable
Gerrit Stapper
Seven Myths, Three Reasons, One Goal
Stefan Priebsch
Related Articles
View all articles


.jpg?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

CONTIAMO GMBH
Berlin, Germany
Senior
Python
Docker
TypeScript
PostgreSQL



Red Bull Media House GmbH
Elsbethen, Austria
Senior
Java
NoSQL
Docker
Angular
Hibernate
+6

Red Bull Media House GmbH
Elsbethen, Austria
Intermediate
Java
NoSQL
Docker
Angular
Hibernate
+6



APRIORI - business solutions AG
