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

Programmer Humor

21027 readers
3155 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
[–] LeninOnAPrayer@lemm.ee 4 points 16 hours ago* (last edited 16 hours ago) (1 children)

The sad thing is that even chatgpt can't program in bash. I just want a simple script and every single time it just doesn't work. I always just end up saying "write this in python instead".

[–] Hawk@lemmynsfw.com 6 points 15 hours ago (1 children)

Python's usually the better choice anyway tbf. I know piping isn't as good, but there are so many footguns!

Nushell and Fish can be really convenient too.

I used to adhere to sh for an OpenBSD machine but I switched to python, Rust and Go for, even simple things.

[–] sunstoned@lemmus.org 2 points 14 hours ago

Python is just as portable these days (on modern hardware, caveats, caveats).

Honestly so intuitive that I start there too unless I have a need for speed or distinct memory control. There's no job too small for a python script.