this post was submitted on 05 Mar 2025
1640 points (99.0% liked)

Programmer Humor

25511 readers
2207 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] coldsideofyourpillow@lemmy.cafe 19 points 5 months ago* (last edited 5 months ago) (24 children)

That's why I use nushell. Very convenient for writing scripts that you can understand. Obviously, it cannot beat Python in terms of prototyping, but at least I don't have to relearn it everytime.

[–] AnUnusualRelic@lemmy.world 23 points 5 months ago (14 children)

So the alternative is:

  • either an obtuse script that works everywhere, or
  • a legible script that only works on your machine…
[–] shortrounddev@lemmy.world 6 points 5 months ago (10 children)

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

[–] Hexarei@programming.dev 3 points 5 months ago (1 children)

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

load more comments (8 replies)
load more comments (11 replies)
load more comments (20 replies)