Programming Principles
100

This programming principle reminds you to keep your code simple and avoid being overly clever or complicated.

KISS (Keep It Simple, Stupid)

200

This programming principle advises against copying and pasting code, reminding developers to avoid duplication of logic or data.

What is DRY (Don’t Repeat Yourself)?

300

This principle suggests that objects should be built using smaller, behavior-specific objects rather than inheriting from a parent class to add new behaviors.

What is Composition Over Inheritance?

400

This principle warns developers not to add features or write code for functionality they might need later, emphasizing that you shouldn’t solve problems that don’t exist yet.

What is YAGNI (You Aren’t Going to Need It)?

500

This principle states that a program should be divided into distinct sections, each handling a specific responsibility, with minimal overlap or direct access between them.

What is Separation of Concerns (SOC)?

M
e
n
u