Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.

  • burliman@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 年前

    The code is the “what”, the comments are the “why”. It’s the mantra I use when making them. So in a fundamental way, they never repeat themselves.