Hello,
I'm trying to get my head around extending everything instead of overlaying since I have read about the hard seal timeline.
Since I am still adjusting to the "new world" I have been poking around here and there.
For example, this method: GetLoyaltyCardRewardPointsStatusXML
Its purpose is to build an XML document
What if I had to add a new child element to the XML?
There are other code that I have seen (e.g. a method sets tables fields but specific field wasn't included and I want to include it before it updates) that makes me think in my head i'm saying "no problem ... add the 1 line of code in there...simple".
But then i think of the hard seal and wonder how would I go about extending this method?
I can't think of a way to extend the code in the above sample gracefully.
This is more of a question of how I would approach it for future scenarios and how to extend it without just going into a method and adding a line of code.
Thanks for taking the time to read
*This post is locked for comments