News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by rectang on Wednesday February 28, 2018 @12:00PM (#16484443)
Another advantage of using a scripting language is that the hard work of portability will already have been done for you by the authors of the scripting language.

Make, in contrast, works within a shell and invokes programs which may be either wildly or subtly incompatible across platforms. Add in the lacking support for conditionals in POSIX make and portability is a nightmare.

Re:The Makefile I use with JavaScript projects by vetinari on Wednesday February 28, 2018 @12:07PM (#16484534)
On the other hand, make invokes well known shell commands; I already know what they do, when I see them used.

If you are invoking your functions (or functions imported from random library), I have to check them for what they do.

Re:The Makefile I use with JavaScript projects by sneak on Wednesday February 28, 2018 @12:02PM (#16484487)
it is possible that if you need to do that much in a makefile that you are running into shell incompatibilities then perhaps you are attempting to cram too much complexity into your build system and perhaps should be using something like Docker to decrease incidences of “works on my machine/os/distro/et c”.

(I am aware that this advice does not hold true in all cases; just that for many of them overly complicated build systems is a code smell.)

Re:The Makefile I use with JavaScript projects by Pxtl on Thursday March 01, 2018 @12:35AM (#16489916)
To be fair, at the core much of what you're going to be doing is invoking command-line tools. I mean, most compilers are invoked as command-line tools.