DEV Community

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

Collapse
 
elsyng profile image
Ellis

Bash is not a programming language as such. It has a context, it has a purpose, it is specific and useful within that. Like each and every other tool. Use the right tool for the right job. Bash mainly operates on the file system and programs level: it typically starts programs to run operations on files, and it can facilitate the data flow between these programs. It's job is not: doing the tasks those specific programs do.

If you need to do some complex text parsing, process large amounts of data quickly, or other specific tasks, you don't choose Bash for that. If you do, that's on you ;)

As the famous quote goes: if you judge a fish by its ability to climb a tree ...