MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. Clean Code & Software Engineering Principles
  3. DRY, KISS, YAGNI and Design Heuristics
Public deck

Clean Code & Software Engineering Principles

The language-agnostic foundation deck for engineers: SOLID, design heuristics, naming, functions, code smells and refactoring moves — the vocabulary that code review assumes you already have.

Engineering
AShared by Alex Chen
1Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

DRY, KISS, YAGNI and Design Heuristics

The design maxims every reviewer quotes — what each actually claims, and the ways each is routinely misapplied.

Try this topicBack to deck

Content

41 total questions

MCQ: 10
Fill-in: 8
Flashcards: 13
Pair match: 10
DRY, KISS, YAGNI and Design Heuristics – Flashcards
Flashcards

Card #1

What does DRY stand for, and what exactly must not be repeated?

Card #2

What is the most common way DRY is misapplied?

Card #3

What is the 'rule of three' in relation to duplication?

10 more questions in this game

Showing 3 of 13. Sign up free to see the rest.

Sign up freeLog in
DRY, KISS, YAGNI and Design Heuristics – MCQ
Multiple Choice Questions
  1. 1. Who coined the DRY principle?

    • Kent Beck and Ward Cunningham
    • Andy Hunt and Dave Thomas
    • Robert Martin and Martin Fowler
    • Erich Gamma and Richard Helm
  2. 2. YAGNI comes from which software development approach?

    • Rational Unified Process
    • Feature-Driven Development
    • Lean Software Development
    • Extreme Programming
  3. 3. Code reads account.getBalance(), checks it against an amount, then calls account.setBalance(), instead of calling account.withdraw(amount). Which heuristic does this break?

    • Tell, Don't Ask
    • Rule of Three
    • Boy Scout Rule
    • Fail Fast
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in
DRY, KISS, YAGNI and Design Heuristics – Fill-in-the-blank
Fill in the Blank
  1. 1. The KISS principle is usually attributed to Lockheed engineer Kelly ___.

    Answer:Johnson

    Hint: He led the Skunk Works.

  2. 2. The Law of Demeter is also called the principle of least ___.

    Answer:knowledge

    Hint: A module knows as little as it can about others.

  3. 3. Fred Brooks drew the line between essential and accidental complexity in his 1986 essay No Silver ___.

    Answer:Bullet

    Hint: The thing that kills werewolves.

5 more questions in this game

Showing 3 of 8. Sign up free to see the rest.

Sign up freeLog in
DRY, KISS, YAGNI and Design Heuristics – Pair match
Pair Match
Fail fast↔Report an error at the point it first appears
Worse is better↔Simple and incomplete can beat complete and complex
Make it work, right, fast↔Correct first, then clean, then optimise
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in