- classes too long
- methods too long
- little or no javadoc
- no convention for distinguishing between local variable, arguments and fields
- many empty catch books that suppress exception
- inappropriate use of multiple return statements
- using exception to define regular program flow
- excessive use of the instance of operator
- using floating point data to represent money
- preferring arrays over collections
- not ordering class members by scope
Tuesday, January 7, 2014
JAVA: Common basic style errors.
Nothing new - just to remember (found in some old txt file)
Subscribe to:
Post Comments (Atom)
Web 3 - blockchain layers
Layers from a blockchain perspective. My plan is to write 5 articles: 1 Intro: Web 1.. 2.. 3.. 2 Layers in crypto. [this one] 3 Applicatio...
-
I spend few long hours to try to fix default crappy touchpad behavior, before finally I got to this. And by "crappy" I mean: not ...
-
Lastly I spent some time investigating usage of GPU in computations, particularly nvidia CUDA. But during research I spent some time looking...
No comments:
Post a Comment