QuoteProject
What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method names, and so forth, to make my code readable. If you read some expression using these identifiers and it reads like an English sentence, your program is much more likely to be correct, and much easier to maintain.
Joshua Bloch
ShareWTF𝕏

Interpretation

What this quote means

Clear and thoughtful naming in coding enhances readability and maintainability.

This quote emphasizes the importance of using meaningful and clear identifier names in programming. Joshua Bloch suggests that spending time on naming variables and methods can greatly improve the readability of the code, making it easier to understand and less prone to errors, thus facilitating long-term maintenance of the software.

Themes

CodingReadabilityIdentifier NamesMaintainabilityProgramming

In practice

Example use cases

During a software development workshop, I used this quote to stress the significance of naming conventions to new programmers.

Similar quotes

Technology will move faster than governments, so don't legislate before you understand the consequences.
Eric SchmidtRead
The greatest task before civilization at present is to make machines what they ought to be, the slaves, instead of the masters of men.
Havelock EllisRead
Proprietary software is an injustice.
Richard StallmanRead
The worst thing about the miracle of modern communications is the Pavlovian pressure it places upon everyone to communicate whenever a bell rings.
Russell BakerRead
Tomorrow there will be no division to Europe and Asia. These are old concepts that would remain only on maps. Everything will be united. Companies will be united. It is a process of structures growing due to the technological progress.
Lech WalesaRead
If I had taken a proprietary control of the Web, then it would never have taken off. People only committed their time to it because they knew it was open, shared: that they could help decide what would happen to it next.. and I wouldn't be raking off 10%!
Tim Berners-LeeRead

A little wisdom, now and then

Subscribe for the occasional hand-picked quote. No noise.

Quote by Joshua Bloch | QuoteProject