The Trouble with Naming

22
The Trouble With Naming (Yes, that’s the best I could come up with)

description

A lightning talk first presented at the 9th annual (2014) Java Posse Roundup in Crested Butte Colorado

Transcript of The Trouble with Naming

Page 1: The Trouble with Naming

The Trouble With Naming

(Yes, that’s the best I could come up with)

Page 2: The Trouble with Naming

IT [sic] is often said that there are two hard things...

“Cache invalidation

&

Naming”

-- Phil Karlton

Page 3: The Trouble with Naming

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

So Are We Missing Something?...

Page 5: The Trouble with Naming
Page 6: The Trouble with Naming

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

“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

An Infographic From The Interwebs…

Page 9: The Trouble with Naming

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

Something subjective and therefore hard to define…

Page 11: The Trouble with Naming

and even worse…

Page 12: The Trouble with Naming

…Immeasurable!

Page 13: The Trouble with Naming

a FEELING!!!

… and a bit like

Page 14: The Trouble with Naming

The Parti (Stolen from our “Real” Architect cousins)

Page 15: The Trouble with Naming
Page 16: The Trouble with Naming
Page 17: The Trouble with Naming
Page 18: The Trouble with Naming
Page 19: The Trouble with Naming
Page 20: The Trouble with Naming

But Wait!

Haven’t we just stumbled upon the XP System Metaphor via a terribly circuitous route?

Page 21: The Trouble with Naming

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

So go on, treat yourself.Think of a great name today