Object Oriented Design Principles Cheat Sheet — II

Photo by Autumn Studio on Unsplash

TL;DR

KISS (Keep It Simple, Stupid)

DRY (Don’t Repeat Yourself) — DIE (Duplication is Evil)

YAGNI (You Aren’t Gonna Need It)

Curly’s Law — Do One Thing

Law of Demeter — Don’t talk to strangers

Inversion of Control — Hollywood Principle, “Don’t call us, we’ll call you”

Boy-Scout Rule

Linus’s Law

Brooks’s Law

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nil Seri

Nil Seri

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨