cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoLike programming in bashlemmy.mlimagemessage-square184fedilinkarrow-up11.59Karrow-down115cross-posted to: wwwopera@lemm.eeprogrammerhumor@lemmy.ml
arrow-up11.58Karrow-down1imageLike programming in bashlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square184fedilinkcross-posted to: wwwopera@lemm.eeprogrammerhumor@lemmy.ml
minus-squareLeninOnAPrayer@lemm.eelinkfedilinkEnglisharrow-up4·edit-217 hours agoThe 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”.
minus-squareHawk@lemmynsfw.comlinkfedilinkarrow-up6·16 hours agoPython’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.
minus-squaresunstoned@lemmus.orglinkfedilinkEnglisharrow-up2·15 hours agoPython 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.
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”.
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.
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.