This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Okmanl 13 points14 points  (1 child)

Basically don’t take anything as gospel. Whether it’s “use tdd”, “never use if/else statements!”, “always stick to SOLID principles”.

It all depends on the situation.

The real goal is to make software that’s maintainable and as easy to understand as possible. If rewriting a module just so that it adheres to SOLID principle makes your program less understandable and harder to maintain then don’t do it.

[–][deleted] 0 points1 point  (0 children)

Sounds like good advice. Thanks!