+ 6
Using comments after }
There are several closing brackets that we have at the end of the code. Sometimes it cause the mistakes if you forget one or set additional one. May be the good way is write comments after closing bracket which describe what it closed? For example: }//for }//myfunc }//myclass} }//namespace
2 Respostas
+ 3
I did that too when I started to learn Java. Evidence:
https://code.sololearn.com/cE8Ncr7jB5uc/?ref=app
+ 2
I've been doing what you are suggesting since 1977.