DEV Community

Discussion on: Your favorite analogies to explain IT concepts. Let's discuss!

ana profile image
Ana Chiritescu Author • Edited on

Blair, thanks! To summarize, you mean that by going for a more generic way of payments (ie an interface), it was easier to add support for other payment methods later on. In OOP terms: a class implementing a interface.

blairnangle profile image
Blair Nangle • Edited on

Exactly, Ana. Apologies for the verboseness of my comment, thank you for your summary.

Thread Thread
ana profile image
Ana Chiritescu Author

No problem, Blair! It was a good read! Thanks for your post reply! 🙂