| ▲ | leoedin 2 hours ago | |||||||
The quality of my bash scripts is 100x what they used to be. Proper help messages, flag parsing, functions, internal variables, using sed all the time (I could never wrap my head around that). Of course, the main issue is that they’re completely undebbugable now. My bash scripts used to be a sequential list of commands, now they’re 500 lines of variable laden functions. Is my life any better? Dunno. But it’s satisfying (until there’s a bug) | ||||||||
| ▲ | nasretdinov 2 hours ago | parent | next [-] | |||||||
> the main issue is that they’re completely undebbugable now Well, that means the quality actually dropped then :). Looking impressive isn't equal to quality, understandability and reliability is | ||||||||
| ||||||||
| ▲ | mckee_plus_plus an hour ago | parent | prev [-] | |||||||
I switched to js for dev related scripting after seeing how much python scripting is used for portable c++ projects like chromium. A node glob() or a regexp string.replace call is probably easier to read than spaghetti shell. And your llm might do a much better job of creating clean, readable and testable code. | ||||||||