Graduated in Digital Media M.Sc. now developing the next generation of educational software. Since a while I develop full stack in Javascript using Meteor. Love fitness and Muay Thai after work.
I think clean code is still a very debatable topic. To me, personally, clean code is code with improved readability or improved contextual information:
Same goes for preparing structures for commenting code:
hard to read
if(condition){// long block comments about // what this branch actually does...}else{// long block comments about // what this branch actually does...}
easier to read:
// long block comments about // what this branch actually doesif(condition){...}// long block comments about // what this branch actually doeselse{...}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think clean code is still a very debatable topic. To me, personally, clean code is code with improved readability or improved contextual information:
Example:
Same goes for preparing structures for commenting code:
hard to read
easier to read: