Comment from my group project teammate. You don’t need to comment every line lol

  • @[email protected]
    link
    fedilink
    235 months ago

    Bash is a shit „language” and everytime i need to write the simplest thing in it I forget which variable expansion I should use and how many spaces are the right amount of spaces. It’s impossible to write nice to read bash, but even in C you can write code that comments itself.

    • @[email protected]
      link
      fedilink
      105 months ago

      It’s perfectly possible to write nice to read bash, and to also make is safe to run and well-behaved on errors.

      But all the three people that can do those (I’m not on the group) seem to be busy right now.

    • @[email protected]
      link
      fedilink
      English
      65 months ago

      bash sucks but i don’t agree. Some simple rules like regularly use intermediate variables with useful names and never use shorthand arguments goes a long way.