3 ms·
This reminds me of makefiles. Most programmers wouldn't dream of checking in code with no comments. But makefiles with byzantine code in it, no comments whatsoe
by WalterBright 7y ago
This reminds me of makefiles. Most programmers wouldn't dream of checking in code with no comments. But makefiles with byzantine code in it, no comments whatsoever, nothing even saying what the makefile is for, are routine. The makefiles degenerate into such an awful mess that then people look for alternatives to make.
The sensible solution is to treat a makefile like code - document it and use sensible coding practices like organizing it instead of writing spaghetti soup.
- Koshkin 7y agoIndeed; I've always wondered what is it that's keeping us from having a saner alternative to make in the form of a simple yet more powerful interpreted language with all needed procedures and functions built in.
- smilliken 7y agoYou're describing Nix: https://nixos.org/nix/ https://nixos.org/nix/ It fills the same niche as make, but is a pure functional programming language, reproducible, and has a large package repository. It's pretty much my favorite piece of software because it allows me to depend on third party packages with minimal risk of breaking the build.