News for hackers. Stuff that matters.
Re:A simple makefile is a unicorn by qznc on Thursday January 11, 2018 @06:45AM (#16123036)
Do you have a good link/example, why timestamps are bad?

I think in the context of Make it is ok. If you rely on checksums, you must implicitly assume that all commands you execute are idempotent. That assumption easily breaks.

Re:A simple makefile is a unicorn by oriolid on Thursday January 11, 2018 @03:12PM (#16127370)
When I worked with Clearcase (which is terrible in many ways, this is just one), one of its nice features was that it changed file timestamp to the timestamp of commit, not the timestamp it was changed on developer's machine. The commit timestamp may be after previous commit but also before the compiled object file. Because of this, the only way to do a reliable build was to start from scratch. Which took 45 minutes.

Ceterum censeo, Clearcase must be destroyed.

Re:A simple makefile is a unicorn by snarfy on Thursday January 11, 2018 @07:10AM (#16123147)
I don't have a link, but one reason to prefer checksums is if you have intermediary steps that produce artifacts, possibly binary input to another step, that may or may not need to actually be built.