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

From the late 1940s, into and through the '50s, there developed a complex interaction between federal government, state and local government, real-estate interests, commercial interests and court decisions, which had the effect of undermining the mass transit system across the country.
Noam ChomskyRead
I want more Internet. I want every one of the 6 billion people on the planet to be able to connect to the Internet - I think they will add things to it that will really benefit us all.
Vint CerfRead
The strength of the computer lies in its being a logic machine. It does precisely what it is programed to do. This makes it fast and precise. It also makes it a total moron; for logic is essentially stupid.
Peter DruckerRead
Products were once designed for the functions they performed. But when all companies can make products that perform their functions equally well, the distinctive advantage goes to those who provide pleasure and enjoyment while maintaining the power. If functions are equated with cognition, pleasure is equated with emotion; today we want products that appeal to both cognition and emotion.
Donald A. NormanRead
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
Computers are useless. They can only give you answers.
Pablo PicassoRead

A little wisdom, now and then

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