• railsdev@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    100% agree. Sometimes I start a comment and realize I’ve either explained exactly what it’s doing and delete it or just update my variables to be more concise.

    My job doesn’t like when I document the parameters and return type/value of methods. I think that that is really important in a dynamic language like Ruby and sets expectations that the method should ONLY return that type.