- 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)
Teaching AI to Write Code: The Symphony of System Prompts 🎵
The Spark: Karpathy's Thought 💡 Picture this: Andrej Karpathy, one of the brightest minds in AI, tweets about a missing piece in the ...
-
Hi! Recently I moved to Rust and working on several projects - more insights to come ... one of them was Datafusion - an extremely fast S...
-
Hi, This is one of my first Rust apps. I use it to benchmark long-running applications - like server /streaming solutions. Tracer Live ter...
No comments:
Post a Comment