Skip to content
BENIBIX Learn

KISS Principle

Development🧩 Programming ConceptsDevelopment Practices

Also known as KISS, Keep It Simple, Stupid, Keep It Simple

The rule to pick the simplest design that does the job.

Think of it like

Think of it like a door with a handle. You do not need a remote control to open it.

Example

Lucy needs to store 20 settings. Instead of a database and an admin screen, she uses one small JSON file. It works for two years with no trouble.

Why it matters

Each extra part can break. Each one is also one more thing the next person must learn.

Definition

KISS stands for keep it simple, stupid, and it means choosing the simplest design that works. Simple code has fewer places for bugs to hide. It is also quicker for others to read and change. Fancy patterns and extra layers should be added only when a real need appears. The phrase is said to come from a US Navy engineer in the 1960s.

Common mistake

Confusing simple with easy to write. The simplest design to read is sometimes harder to come up with.

Key takeaways

  1. 1
    Simplest that works. Not the cleverest.
  2. 2
    Fewer parts. Fewer places for bugs.
  3. 3
    Add when needed. Not before.

Compare

Learn it properly