Saturday, May 26, 2012

Design principles

A principle that is helpful to achieving high cohesion and low coupling is separation of concerns (SoC).

KISS: Keep It Simple, Stupid (Keep it as simple as possible, but no simpler)
DRY: Don't Repeat Yourself
OAOO: Once and Only Once
YAGNI: You Aren't Going to Need It


Every line of code you write can and will be used against you in a code review session.

No comments:

Post a Comment