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.
It is hard to write even the smallest piece of code correctly. - Joshua Bloch
It is hard to write even the smallest piece of code correctly.
- 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 readabl… - 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 readabl…
One advantage of static factory methods is that, unlike constructors, they have names. - Joshua Bloch
One advantage of static factory methods is that, unlike constructors, they have names.
When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a community. - Joshua Bloch
When you choose a language, you're choosing more than a set of technical trade-offs-you're choosing a community.
When in doubt, leave it out. - Joshua Bloch
When in doubt, leave it out.
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
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.
Login to join the discussion
Login to join the discussion