3 ms·
Hey nice examples. However those examples only show that you are already operating/programming outside of the target use case of a Bash script -- and that's why
by covi 12y ago
Hey nice examples. However those examples only show that you are already operating/programming outside of the target use case of a Bash script -- and that's why a general-purpose language like Haskell comes in handy. IMO if one is to fully operate within the scripting level and to not worry about more complicated processing, Bash is easier. So I'm saying this is not really an apple-to-apple comparison.
(FWIW I did program in Haskell and I loved it.)
- chrisdone 12y agoFair. That's partly what motivated my desire to be able to script within Haskell in the first place, I often find myself tredding that gray area. Half way through a Bash script (or a pipe chain) before realising I can't express what I want to express. A bunch of times I've given up and started writing a Haskell file. That's my personal experience, anyway. So I'd rather avoid bumping my head on the ceiling altogether. Although I just saw this comic which seems somewhat germane :) http://www.catacrac.net/crac/w-16 http://www.catacrac.net/crac/w-16