What is Open-Closed Principle?
Design modules so you can add behavior without editing existing code. Extend through new types, not surgery on old ones.

new handler added · core sealed
Open-Closed Principle means open for extension…
Write it in your own words in the app.
In real work
Open-closed principle: we registered a new export handler instead of editing the core pipeline.
In the illustration
A new export handler cartridge slides into the empty bay and its lamp joins the line; the core housing's wire seal stays intact and no screw on it turns.
Add the new discount type in your coding agent following the open-closed principle: a new DiscountRule type the pricing engine picks up, with no edits to the existing rules.
Try it now
The fastest way to learn a word is to use it. Open this line in the agent you already work in and watch what it does. Change the tool to the one you use.
Go further
01Practice
Make it stick
One term a day, a short quiz, and sentence practice that checks your own words.
02Verify
Prove you know it
Pass the quiz and keep it in a Skills Wallet you can share with anyone who needs proof.
03Career
Find the work that uses it
See which roles lean on this vocabulary, and what they pay in year one.





