Re:Scripting with Go: A Modest Proposal
by pdimitar on Sunday August 20, 2023 @04:05PM
(#37202498)
Another commenter beat me to it but still: sh / bash / zsh are quite fine up until certain complexity (say 500 lines), after which adding even a single small feature becomes a huge drag. We're talking hours for something that would take me 10 minutes in Golang and 15 in Rust.
[ Parent
| on HN ]
I can actually agree with this take. Most of the opinions I've seen in this vein take some absurdly small limit, like 5 lines. 500, though? Yeah. My team rewrote a ProxySQL handler in Python because the bash version had gotten out of hand, and there were only a handful of people who could understand what it was doing. It passed 100% of spellcheck tests, and was as modular as it could possibly be, but modifying it was still an exercise in pain.
Re:Scripting with Go: A Modest Proposal
by ruraljuror on Sunday August 20, 2023 @08:10PM
(#37204157)
> It passed 100% of spellcheck tests
Just like your post does! :)