What is Closing Brace Comments ?

Closing Brace Comments

try {
while ((line = in.readLine()) != null) {
} // while
} // try

Although this might make sense for long functions with deeply nested structures, it serves only to clutter the kind of small and encapsulated functions that we prefer.

Attributions and Bylines

/* Added by Rick */

Source code control systems are very good at remembering who added what, when. There is no need to pollute the code with little bylines.

source :

Leave a Reply