• PonderingPotato@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    That’s typically what people who advocate for less/no comments really mean. The code should self explain “what” it does, but if the “why” isn’t obvious (i.e. confusing business logic) nobody argues that you shouldn’t comment it. That’s how I’ve worked in every company I’ve been at (and all developers around me) from 50 person start ups to >2k people. It’s really common mentality with Ruby developers

    • JcbAzPx@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Anyone complaining about commenting should be forced to code in assembly for a while.