5

1 thing I hate more than bad code.

bloody comments. it's an excuse to write crappy code

Comments
  • 0
    What if I clean the comments so they're not so bloody?

    Haha sorry I had to.

    But yeah, some people vomit all over code with comments :3
  • 1
    I point blank refuse to comment my code. You code should be readable to a developer. and naming should be good enough for a none developer to know what they looking at
  • 0
    @nukezilla

    Right. It should be intuitive :)
  • 1
    I disagree. There are situations where a comment can be way more concise than having to explain something in a variable name or through your code. Like performing a seemingly useless operation which has to remain there for IE8 compatibility or the like.
  • 1
    @saDammie-Jr

    He was saying he hates comments that are used to cover up bad code.

    Obviously in the case you mentioned a comment would be perfectly fine :).
  • 0
    I know couple of developers who work for Microsoft in the seattle area. They told me they were told to write comments for almost every line of code they write explaining what the line does and why.
  • 0
    I usually write comments to explain the logic. It helps get to the correct state of mind quicker.
  • 0
    don't write comments for other people. write the comments for yourself. don't assume you are a sponge.
Add Comment