Am reminded also of a discussion of software engineering between John Ousterhout (of whom I'm a big fan) and Robert Martin[0][1].
[0] https://github.com/johnousterhout/aposd-vs-clean-code
[1] https://youtu.be/3Vlk6hCWBw0