Re:Functional programming in sh
by daenz on Wednesday May 23, 2012 @11:05PM
(#4016567)
The nightmare of writing any kind of serious program in the shell was the inspiration for PBS https://github.com/amoffat/pbs
[ Parent
| on HN ]
Wow... Just wow... I always thought there should be something more intuitive than the subprocess module.
This actually makes it practical to use python where I would usually use shell scripts.
That API is actually quite well designed, thanks. I don't really use Python anymore, but if I did I'd really consider using it. Although "bake" should really be "curry".
You shouldn't write anything serious in shell or python, use serious language for serious jobs, please.
(But if you do, use bash-modules, please).