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.