this post was submitted on 27 Apr 2024
21 points (100.0% liked)

Programming

423 readers
3 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] MNByChoice@midwest.social 2 points 6 months ago (1 children)

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 5 points 6 months ago* (last edited 6 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.