This programming principle reminds you to keep your code simple and avoid being overly clever or complicated.
KISS (Keep It Simple, Stupid)
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)?
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?
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)?
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)?