Joshua Bloch

Image of Joshua Bloch
When in doubt, leave it out.
- Joshua Bloch
Collection: Doubt
Image of Joshua Bloch
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
Collection: Expression
Image of Joshua Bloch
The cleaner and nicer the program, the faster it's going to run. And if it doesn't, it'll be easy to make it fast.
- Joshua Bloch
Collection: Running
Image of Joshua Bloch
It is hard to write even the smallest piece of code correctly.
- Joshua Bloch
Collection: Writing
Image of Joshua Bloch
When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a community.
- Joshua Bloch
Collection: Community
Image of Joshua Bloch
One advantage of static factory methods is that, unlike constructors, they have names.
- Joshua Bloch
Collection: Names