Let’s say we don’t care about the backend<>frontend interconnection we see in most JS frameworks. We just want to program the backend. What would be the language of your choice?

  • MNByChoice
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    7 months ago

    I would want something simple, extensible, and easily readable. I would write in the clearest way possible in Bash with small, single purpose programs handling anything performance critical.

    • mox@lemmy.sdf.org
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      7 months ago

      easily readable

      Bash

      This makes me wonder if you might benefit from exploring more programming languages.

      I’ve never found shell scripts (beyond the most trivial tasks) to be especially readable. Bourne-style shells in particular (e.g. bash) have a lot of easy-to-miss nuances that will lead to bugs if not carefully managed.

      Hats off to you if you can do a good job of it, but it sounds to me like a recipe for pain when it comes to long-term maintenance.