3 ms·
That's why I hate bash and Makefiles. The syntax is just so cryptic that if you don't write/read bashfiles/Makefile for a while it's just impossible to get back
by baby 7y ago
That's why I hate bash and Makefiles. The syntax is just so cryptic that if you don't write/read bashfiles/Makefile for a while it's just impossible to get back into it.
- eikenberry 7y agoI agree to an extent about Makefiles, though I still think they are useful as long as you keep to a simple subset of their functionality. Shell scripting is a different matter. One of the great things about shell scripting is that you can never forget it because you are using it constantly to interact with your system. The fact that it is something you use constantly and can just take and stick in a file and re-use is one reason why shell scripts are so popular.
- mangamadaiyan 7y agoIsn't that true of any nontrivial programming language?
- baby 7y agoI don’t think so. Bash is more cryptic than any language I know besides brainfuck. Also why use a nontrivial language for scripts?
- AlexCoventry 7y agoYou should try APL.
- cyborgx7 7y agoI think the basic idea of make is brilliant and still very useful. Compare time stamps of files and if there is a file A that is newer than file B and that is needed to make file B, then make B again, with the provided command. The problem is trying to put any more functionality into it than that. Everything more complex than this basic functionality should be instead implemented in a script that gets called by make to rebuild the given file.