# Open-closed Principle
Is a computer science principle that states that code modules should be open for extension but closed for modification i.e. existing functionality should not be modified (as that would break dependents), but it should be possible to extend the current functionality in such a way that it does not affect current users.
This principle is conceptually similar to [[Postel's Law]].