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.

  • mindlessscrollingparrot@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    DRY is not an inviolable rule. Some of the most tedious code to debug is because somebody thinks puppies will die if they write the same pair of lines in two different places.