Comment Re:Comment your damn code (Score 1) 373
Well not really, for instance it could take you 20 lines to initialize a device on a port. In that case it would be a benefit to have a block comment above the section explaining what it`s for, also it would be helpful to comment each line to explain what each value or step is for. Putting in comments doesn`t mean you write bad code, it means you want to understand it when you come back to it in a year or 10.