you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 day ago (1 child)

Also you can tell that a human didn’t put a lot of thought into some code (no comments, sloppy variable names)

Why is your code so messy that it needs comments everywhere? Comments should pretty much be reserved for special cases anyway

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 hours ago

    Would that be cases be where you're doing something that might appear a little odd, but there is a reason for it to be that way? So if you see something that looks a little odd and there's a comment explaining it, wouldn't you be more likely assume that there's a reason for that code to be that way and it's probably intentional and not a bug?

    And "self documenting code" is just something we say because we don't want to be bothered with writing comments, if we're being honest.

  • source
  • parent