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

As the amount of inputs go up, as the number of people and ideas that clamor for attention continue to increase, we do what people always do: we rely on the familiar, the trusted and the personal. The incredible surplus of digital data means that human actions, generosity and sacrifice are more important than they ever were before.
Seth GodinRead
You're not going to tell me they built fifty-foot-high killer golems, are you?" "Only a man would think of that. It's our job," said Moist. "If you don't think of fifty-foot-high killer golems first, someone else will.
Terry PratchettRead
Each new tool we create ends an old relationship with the world and starts a new one. And we're changed by that relationship, inevitably. It changes the way we live, changes our patterns, changes our social organization.
Ellen UllmanRead
When producers want to know what the public wants, they graph it as curves. When they want to tell the public what to get, they say it in curves.
Marshall McluhanRead
There is a massive apparatus within the United States government that with complete secrecy has been building this enormous structure that has only one goal, and that is to destroy privacy and anonymity, not just in the United States but around the world.
Glenn GreenwaldRead
That has always been the objective of Apple: to do things that really enrich people's lives. That you look back on and you wonder, 'How did I live without this?'
Tim CookRead

A little wisdom, now and then

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