|
|
|
|
|
by irl_chad
1098 days ago
|
|
A great example of how NOT to write Java. You say absolutely nothing with a whole lot of extra words. For example:
//==============================================================
// Ajqvue Constructor
//============================================================== public Ajqvue()
The constructor definition is already clear, I don’t need a big header telling me what a constructor is.Instead, use comments generously where needed - for example, if you have a piece of business logic, a comment explaining the intent behind it can help the maintainer (likely you) a year down the road. What I mean by this, is that what your code DOES should be self evident - but documenting the business decision behind the implementation has done wonders for me. |
|