Hacker News new | past | comments | ask | show | jobs | submit login
The Open-Closed Principle, in review (2013) (codeblog.jonskeet.uk)
1 point by creamyhorror on May 7, 2020 | hide | past | favorite | 1 comment



Another modernised statement of the OCP:

https://softwareengineering.stackexchange.com/a/348114

> Derek Elkins: A more abstract and relevant statement of the OCP is: "a component should allow for extension without need of violating its abstraction boundaries". I would go further and say a more modern rendition is: "a component should enforce its abstraction boundaries but allow for extension".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: