Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments
He also compared terminal commands with cheat codes in GTA and other games, he understands what benefits you take from them, but not from terminal commands
I’m a software developer. I think about my interactions with computers as language. And Posix shell is a pretty good programming language.
So interacting with the computer this way just makes sense to my monkey brain.
I’m a shell user too, but as a programming language I would rate Bash utter garbage. Fine for little piping but for longer scripts I will be reaching for Haskell.
Shell and Haskell are for different purposes.
Shell is for composing tools that work on text streams.
Haskell is for writing new tools or for programming against other (more structured) data models.
Also, shell programs are small. The interpreter can be tiny. Re-compiling every new tool can add a ton of bloat.
Also also, the key to effective shell programming is to recognize it as a macro language.