💻 Coding principles

You, coding

If I had to summarize what properties make up good code, it would be simplicity and ease-of-change.

Making code easy to change means nailing separation of concerns.

Spaghetti code that's separated or combined in a manner where significant changes are usually isolated is great code.

In fact, I'd say that DRY is one of the most counter-productive principles to follow in all but trivial situations.

So much of the “well architected” code we write is actually just speculation embedded as a commitment.

All other software qualities (testability, portability, reliability, efficiency, etc) can be more easily achieved with code that is quick to understand and modify.

Coding principles I've found most valuable

© nem035RSS