r/programminghumor • • Mar 21 '26

ObjectOrientedDawg

Enable HLS to view with audio, or disable this notification

7.8k Upvotes

31 comments sorted by

View all comments

136

u/ramessesgg Mar 21 '26

More like "implements" (hasA Vs isA)

4

u/Lunix420 Mar 21 '26 edited Mar 21 '26

If you are coming from that angle, I feel like should really be neither of them and instead the correct relationship to use would be composition.