News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about build systems (2012) by dcow on Saturday July 18, 2020 @04:04PM (#23884382)
And then there's `make`. I've seen a philosophically correct Makefile maybe 3 times in my life. Most of the time I see people making every target .PHONY and using patterns to save keystrokes rather than match multiple files.

You'd tend to think people learn over time but no. It's gotten worse. Right when you thought the industry was on the cusp of a build revolution the go community decides to push an old tool that most people can't utilize even 3% of when paired with `go build`. I kinda blame the go ecosystem for pushing Makefile adoption when they already have a caching build tool just so the maintainers didn't have to give the compiler a polished UI. Simplicity at the cost of functionality even if it's simply broken amirite?

Sigh.

Re:Falsehoods programmers believe about build systems (2012) by ancarda on Saturday July 18, 2020 @05:05PM (#23884848)
I've never seen Go projects use Make? When did this change happen?
Re:Falsehoods programmers believe about build systems (2012) by dcow on Saturday July 18, 2020 @05:20PM (#23884943)
The golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist
Re:Falsehoods programmers believe about build systems (2012) by rumanator on Saturday July 18, 2020 @08:55PM (#23886094)
> and using patterns to save keystrokes rather than match multiple files.

To be fair, I'm still yet to see a document clarifying how to use patterns with make.