SE-Radio Episode 278: Peter Hilton on Naming

Topics covered
Popular Clips
Episode Highlights
Naming Challenges
Naming in programming is notoriously difficult, as explains, because it involves both creativity and communication. He notes that while cache invalidation is expected to be challenging due to its technical nature, naming surprises many with its complexity because it requires conveying meaning to humans, not just machines 1. This dual role of names in code—making it both beautiful and comprehensible—demands careful consideration and creativity 2. Hilton likens naming to writing poetry, where choosing the exact word is crucial, and suggests that improving naming skills is akin to enhancing one's vocabulary through reading and engaging with well-written material 3.
Naming Misconceptions
Misconceptions about naming often lead programmers to undervalue its importance, impacting code quality. points out that many developers don't prioritize naming because they see it as less critical than other code smells, like long methods or excessive parameters 4. However, he argues that naming is a key aspect of human communication in code, which is often overlooked because it doesn't affect compilation 4. Additionally, suggests that certain programming languages, particularly those with strong typing, can encourage better naming practices by requiring more explicit naming of types and objects 5.
Related Episodes


SE-Radio Episode 344: Pat Helland on Web Scale
Answers 383 questions

SE-Radio-Episode-274-Sam-Aaron-on-Sonic-Pi
Answers 383 questions

SE-Radio Episode 295: Michael Feathers on Legacy Code
Answers 383 questions

SE-Radio Episode 251: Martin Klose on Code Retreats
Answers 383 questions

SE-Radio Episode 276: Björn Rabenstein on Site Reliability Engineering
Answers 383 questions

SE Radio 615: Kent Beck on "Tidy First?"
Answers 383 questions

SE Radio 638: Nick Tune and Jean-Georges Perrin on Architecture Modernization
Answers 383 questions

Episode 46: Refactoring Pt. 1
Answers 383 questions

Episode 183: SE Radio becomes part of IEEE Software
Answers 383 questions

SE Radio 625: Jonathan Schneider on Automated Refactoring with OpenRewrite
Answers 383 questions

SE Radio 577: Casey Muratori on Clean Code, Horrible Performance?
Answers 383 questions

SE Radio 574: Chad Michel on Software as an Engineering Discipline
Answers 383 questions

SE Radio 628: Hans Dockter on Developer Productivity
Answers 383 questions

SE-Radio Episode 360: Pete Koomen on A/B Testing
Answers 383 questions














