• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    25 days ago

    I also like to use log statements or error messages as a way to describe what’s happening.

    Comments are only visible in the exact spot where they’re written, whereas decent names or log statements become visible in a second place, which makes them more valuable, but also increases the chance of them being kept up-to-date.