Hacker News new | ask | show | jobs
by ozim 14 days ago
I need a bash script for example. I don’t like dealing with bash or debugging scripts written by others.

I have that part covered by AI so I can get multiple servers up and running and then eventually fix some config or networking here and there which I like.

Instead of bashing my head against the wall.

3 comments

I love churning out crazy Bash scripts, though. The first scripts I wrote sucked, as it always goes with a new language, but Bash is an awesome swiss army knife now that I know how to really push it. It sucks that doing this by hand now is so heavily discouraged because so many people see this as drudge work (that they never cared to learn).
I do know how to write stuff in bash.

I dislike the tooling and debugging experience that is not existing compared to let’s say Python. With Python I have whole IDE which help me set breakpoints and inspect variable state. With bash I have to pipe output to text file and inspect that. Feels like working with Stone Age tooling.

I'll take this as an uninvited opportunity to plug nushell. Ive never got on with bash, it feels like too much of the friction is incidental to the problem, whereas with nushell I find I get to the fun intrinsic difficulty of a problem. YMMV but give it a try if you haven't before
Different strokes I guess. I love using bash.