• SpaceCowboy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 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.