1670
you are viewing a single comment's thread
view the rest of the comments
[-] shortrounddev@lemmy.world 6 points 1 month ago

I am of the opinion that production software shouldn't be written in shell languages. If it's something which needs to be redistributed, I would write it in python or something

[-] AnUnusualRelic@lemmy.world 4 points 1 month ago

For a bit of glue, a shell script is fine. A start script, some small utility gadget...

With python, you're not even sure that the right version is installed unless you ship it with the script.

[-] shortrounddev@lemmy.world 3 points 1 month ago

I try to write things to be cross-platform; with node builds, I avoid anything using shell scripting so that we can support Windows builds as well. As such, I usually write the deployment scripts in Node itself, but sometimes python if it's supported by our particular CI/CD pipeline

[-] AnUnusualRelic@lemmy.world 3 points 1 month ago

I keep forgetting windows exists.

[-] shortrounddev@lemmy.world 1 points 1 month ago

Most common development platform in the world

[-] AnUnusualRelic@lemmy.world 2 points 1 month ago

I quit using it in the WfW days and never looked back.

[-] shortrounddev@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

You haven't used windows in like 30 years? It's quite different now lol

[-] AnUnusualRelic@lemmy.world 3 points 1 month ago

Maybe. I'm fine with my Linux machines though.

[-] Hexarei@programming.dev 3 points 1 month ago

I tend to write anything for distribution in Rust or something that compiles to a standalone binary. Python does not an easily redistributable application make lol

[-] shortrounddev@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Yeah but then you either need to compile and redistribute binaries for several platforms, or make sure that each target user has rust/cargo installed. Plus some devs don't trust compiled binaries in something like an npm package

[-] coldsideofyourpillow@lemmy.cafe 1 points 1 month ago

On a more serious note, NOTHING with more than a little complexity should be written in shell scripts imo. For that, Python is the best, primarily due to how fast it is to prototype stuff in it.

this post was submitted on 05 Mar 2025
1670 points (98.9% liked)

Programmer Humor

22444 readers
1884 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS