Principles in software design

Don’t repeat yourself (DRY)

Keep it simple, stupid(KISS)

Command–query separation(CQS) 

You aren’t gonna need it(YAGNI) 

Law of Demeter (LoD) or principle of least knowledge

SOLID (object-oriented design)

Hollywood Principle

High Cohesion & Low/Loose coupling

Convention over Configuration(CoC)

Separation of Concerns (SoC)

Design by Contract (DbC)

Acyclic Dependencies Principle (ADP)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s