2 ms·
Yes whitespace sensitivity, magic characters (WITH whitespace sensitivity), no standard library, no unicode, horrible math expressions, awful string, mishmash o
by AtlasBarfed 4y ago
Yes whitespace sensitivity, magic characters (WITH whitespace sensitivity), no standard library, no unicode, horrible math expressions, awful string, mishmash of acceptable good practices and outmoded stuff, printlns to debug, subpar error messages, no particularly good IDE, dynamic typing but really none of the convenience.
I honestly have no idea how anyone got anything done before Stackoverflow with bash. It's all copy paste and half the things you need to do in modern scripting isn't in typical UNIX command set (curl, etc) and there's no dependency resolution mechanism.
But yeah, read the manpage to fix everything. Sure dude.
The article is right though. Command line and pipes is a flow type model, but programming is a different ordered thing in the natural sense:
Command flow: cat file | grep values | sort values
Programming flow: sort(grep(cat(file))