4 ms·
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 usi
by dcow 6y ago
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.
- ancarda 6y agoI've never seen Go projects use Make? When did this change happen?
- dcow 6y agoThe golang project itself is a perfect example: https://github.com/golang/go/blob/master/src/Make.dist https://github.com/golang/go/blob/master/src/Make.dist
- rumanator 6y ago> 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.