Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Programming Mottos, Paradigm, Principles, and more.

Programming Mottos, Paradigm, Principles, and more.

Don't Repeat Yourself (DRY)


"In software engineering, don't repeat yourself (DRY) is a principle of software development aimed at reducing repetition of all kinds.

The DRY principle is stated as “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system”."

GRASP (object-oriented design)


"General responsibility assignment software patterns (or principles), abbreviated GRASP, consist of guidelines for assigning responsibility to classes and objects in object-oriented design."

If it ain't broke, don't fix it.


Keep it simple, stupid (the KISS principle)


"KISS is an acronym for "Keep it simple, stupid" as a design principle noted by the U.S. Navy in 1960. The KISS principle states that most systems work best if they are kept simple rather than made complicated; therefore simplicity should be a key goal in design and unnecessary complexity should be avoided."

SOLID Principles (object-oriented design)

"In computer programming, the term SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible and maintainable."

Letter Principle
S Single responsibility principle
O Open/closed principle
L Liskov substitution principle
I Interface segregation principle
D Dependency inversion principle

There's more than one way to do it (TIMTOWTDI)


"There's more than one way to do it (TMTOWTDI or TIMTOWTDI, pronounced Tim Toady) is a Perl programming motto. The language was designed with this idea in mind, in that it “doesn't try to tell the programmer how to program.”"

You aren't gonna need it (YAGNI)


""You aren't gonna need it" (acronym: YAGNI) is a principle of extreme programming (XP) that states a programmer should not add functionality until deemed necessary."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.