Abhinav Dhasmana
1 min readAug 16, 2018

--

Hi Jordan Miles, Thank you for reading the blog. We did solved the “software entities … should be open for extension, but closed for modification”. Our User class is not modified if we have to make a new offer. However with the help of the UserOffer class, we have extended the User class. Every offer would contain some business logic and has to written down manually in both the approaches.

--

--

Abhinav Dhasmana

Senior Staff Engineer @freshworks. Ex-McKinsey/Microsoft/Slideshare/SAP, Tech Enthusiast, Passionate about India. Opinions are mine