• JcbAzPx@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    13 days ago

    Depends on how old school. Some of those older languages absolutely need explanation everywhere.

    • da_cow (she/her)@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 days ago

      Absolutely. Its not always possible to write self explantory code. Especially when you have to use some narly uncommon Syntax a short comment can improve the readability Quite a lot. Personally I like to comment my Parameter Expansions in Bash, since I find its Syntax quite hard to remember and therefore it can be a little bit challenging to infer the functionality just by looking at a bunch of special characters.