the trouble with naming
DESCRIPTION
A lightning talk first presented at the 9th annual (2014) Java Posse Roundup in Crested Butte ColoradoTRANSCRIPT
![Page 1: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/1.jpg)
The Trouble With Naming
(Yes, that’s the best I could come up with)
![Page 2: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/2.jpg)
IT [sic] is often said that there are two hard things...
“Cache invalidation
&
Naming”
-- Phil Karlton
![Page 3: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/3.jpg)
But Why?
We know a lot about the former
It’s technical, and it causes horrible bugs
But doesn’t the latter cause horrible bugs too?
And code rot…?
And eventually madness…?
![Page 4: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/4.jpg)
So Are We Missing Something?...
![Page 5: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/5.jpg)
![Page 6: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/6.jpg)
So Clearly we Don’t All Ignore It
But what’s the sales pitch?
Where’s the memo that Carl got that everyone else missed?
What’s the sizzle from a (beautiful? elegant?) name?
![Page 7: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/7.jpg)
“Call it what it does” - Simples
• C.f. Martin Fowler’s Workflows of Refactoring
• One of these is just refactoring to make something read more nicer isn’t it?
• But can we please have some detail about what “Cognitive Load” is?
PLEASE NOTE: I’m not slagging Martin off – he’s a super-bright guy and the workflows are excellent,
it’s just that I think we can take things further, waaaaaaaaaaaaaaaay further.
Seriously. I mean it.
![Page 8: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/8.jpg)
An Infographic From The Interwebs…
![Page 9: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/9.jpg)
BUT, is that just a reassuringly cold and scientific definition, a reduction perhaps of something that’s actually a bit soft and scary?
![Page 10: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/10.jpg)
Something subjective and therefore hard to define…
![Page 11: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/11.jpg)
and even worse…
![Page 12: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/12.jpg)
…Immeasurable!
![Page 13: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/13.jpg)
a FEELING!!!
… and a bit like
![Page 14: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/14.jpg)
The Parti (Stolen from our “Real” Architect cousins)
![Page 15: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/15.jpg)
![Page 16: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/16.jpg)
![Page 17: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/17.jpg)
![Page 18: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/18.jpg)
![Page 19: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/19.jpg)
![Page 20: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/20.jpg)
But Wait!
Haven’t we just stumbled upon the XP System Metaphor via a terribly circuitous route?
![Page 21: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/21.jpg)
But Wait!
Haven’t we just stumbled upon the XP System Metaphor via a terribly circuitous route?
Yup:o Source of nameso but also a source of conceptso and possibly solutions
![Page 22: The Trouble with Naming](https://reader034.vdocuments.mx/reader034/viewer/2022042714/554f8653b4c905435d8b4c09/html5/thumbnails/22.jpg)
So go on, treat yourself.Think of a great name today