Programming Guidelines - lyncode/dspace-springui GitHub Wiki
Here one will try to give some programming guidelines.
Comments
First of all, we assume that any programmer is able to read code without comments if it uses variable names with meaning.
int c;
It's hard to know what such variable will be used to. So give them a meaningful name. For example:
int count;
Tests
100% code covarage (Unit testing). Create unit tests, get confidence on your code.