Comment by ninkendo

2 days ago

It doesn’t seem to me that it’s required for code that was hard to write, to be hard to debug. What if I spend my cleverness “budget” specifically on making the code easier to debug? Splitting out just the right pieces into generic bits so they can be replaced with debuggable mocks, for instance.

You could counter that the word “clever” only applies to hard-to-debug code, but that makes the whole statement rather vacuous, no?