Batman v Supername: Dawn of Legacy Code

A session at Topconf Tallinn 2016

Wednesday 16th November, 2016

4:20pm to 5:00pm (TMT)

"Professionals use their power for good and write code that others can understand." (Uncle Bob, Clean Code)

Good names - for classes, functions and variables alike - are a simple but powerful way of creating understandable code. Understandable code gives you improved maintainability. Bad names on the other hand are a heavy burden that the whole development team has to carry. Bad names hide the authors intent, leave false clues and often obscure the meaning of code. And all this calls for a certain action that developers should never have to apply lightly: The Batman Mode™. Forced into detailed detective work, developers try to find the meaning and correct pronunciation of class names like GyqfaChBppResDao. They investigate the difference between intended and entrenched meaning of variable names like ssd, sd and cd. They argue with code-villains about Encodings, Hungarian Notation and if an interface name should start with an I or not. Putting a little bit of extra care into name choices and following some simple concepts such as the "Scope Rule" and "Newspaper Metaphor" can have huge positive effects on your code. By choosing Supernames™ your team might even prevent the Dawn of Legacy Code for its own project!

"With great power comes great responsibility." (Uncle Ben, Spiderman)

About the speaker

This person is speaking at this event.
Björn Kimminich

Clean Code Vigilante

Coverage of this session

Sign in to add slides, notes or videos to this session

Topconf Tallinn 2016

Estonia Estonia, Tallinn

15th18th November 2016

Tell your friends!

When

Time 4:20pm5:00pm TMT

Date Wed 16th November 2016

Session Hash Tag

#batmanvsupername

Short URL

lanyrd.com/sfcppr

View the schedule

Share

Topics

See something wrong?

Report an issue with this session