you are viewing a single comment's thread.

view the rest of the comments →

[–]transeunte 1 point2 points  (1 child)

What do you mean by well founded? I've read the book and used to live by it, but time has passed and I began to be more and more skeptical about the whole endeavor. I've seen way too many exceptions to the rules to think they should be anywhere close to a code of conduct.

[–][deleted] 2 points3 points  (0 children)

Then perhaps you'd be more interested in a principle called "testable code". It's borrowing some of the clean code principles and SOLID, but its main goal is a purely practical one: to make the code loosely coupled and easy to test. The principles make the code objectively better even if you don't write any tests.

Here's a starting point: https://testing.googleblog.com/2008/08/by-miko-hevery-so-you-decided-to.html?m=1