DEV Community

Discussion on: Bash is a terrible as a programming language, but what's the alternative ?

Collapse
 
bahner profile image
Lars Bahner

Why hate on bash. I can do 95% of all my work in bash. Sometimes you need a little go, erlang or python. Maybe you're just overthinking and engineering the solutions? 5 liners sounds like bad scripts. Even the small simple ones I write are around 100 lines. With individual "functions", error message, usage and argparsing. I've written scripts a decade ago that are still running just fine. And, honestly, I'm not a very clever programmer, just mind my T's and I's.

KISS!

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

I have PTSD of trying to write complex bash scripts :)

Collapse
 
iseiryu profile image
Sergey

Writing is one thing. Try supporting a bash script for several years with constantly changing requirements.