10
In defense of Makefile
(jeferson.me)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
The only issue with
justis, that it is another third party tool to depend on. The huge benefit ofmakeis, that this is a trusted tool in core developer toolset. If I were to usejust, why not use something more standard likeninjaorcmake?makeis just installed by default. Windows is also just installed by default. Using that as an argument to keep something is questionable.And to answer your question "why no
ninjaorcmake?" Because they are complicated af and are for building (mostly) C++ horrors.It's being used more because it's simple and easy to run. It's not a build system or whatever
make(poorly) tried to be.No, its not installed by default. But it is a standard tool.
This is irrelevant to our discussion. We are talking about optional tools for developers and Windows is not a tool.
It is not questionable to have an argument to use standard tools only. To me it is questionable to question that argument at all.
just is not an established standard tool, compared to make or ninja or cmake. So any objection with the argument its not a standard tool is valid. It does not become invalid just because you said its questionable argument, for no reason.
I think it is. It's a made up constraint that might give you some peace of mind, but it's not impactful when it takes one command line and a few seconds to install it.
I don't understand why anyone would only use programs already installed on their machine, you are probably already using make to compile and install something that your machine is lacking.
In case you have reading comprehension problems, I said in case I use just, I would rather prefer using a different third party tool that is more adapted and quasi standards like ninja or cmake. just is not established yet and it doesn't provide much over make to justify depending on yet another make tool, while there are already lot of projects depending on different make tools.
"I find saying it's questionable questionable in itself"
Lol, OK. Obviously you're the bigger brain here. Can't argue with that.
Nothing to do with big brain. You just don't accept my objection. But it is a real concern to have, you just don't care. That's the difference. Because you can't argue against it, so you invalidate it by saying its questionable.
nix devshells fix this for good
I don't know how this answers my question.
nix devshells let devs not worry about preinstalled deps like just, comes in handy esp. with larger teams and monorepos. thats how I managed to introduce stuff outside the js ecossystem to my js-centered peers in our project, they just pull the new stuff and the environment installs whatever it needs. its better also because you can make it reproducible like to the exact dependency version (node/uv/git/whatever) so no issues of "works on my machine" arise
It depends on what you need. The uses I have for just are mostly as a command runner, so I gain no benefit from using a more complicated tool.