Programs must be written for people to read, and only incidentally for machines to execute.
There is a difference if the code is “write, run once, and forget” or something that needs to be maintained and extended. Maybe researchers mostly write the “run once” code, where the best practices are less important.
Yeah. I definitely find myself mostly in the “run once” regime. Though for stuff I reuse a lot, I usually invest the effort to make nice frameworks / libraries
Quoting Dijkstra:
Also, Harold Abelson:
There is a difference if the code is “write, run once, and forget” or something that needs to be maintained and extended. Maybe researchers mostly write the “run once” code, where the best practices are less important.
Yeah. I definitely find myself mostly in the “run once” regime. Though for stuff I reuse a lot, I usually invest the effort to make nice frameworks / libraries