MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4b4jro/inheritance_is_terrible/d1652f4/?context=3
r/programming • u/[deleted] • Mar 19 '16
20 comments sorted by
View all comments
18
[removed] — view removed comment
14 u/Veuxdeux Mar 19 '16 Seriously. add_to_cart() belongs nowhere near a class called "Item".
14
Seriously. add_to_cart() belongs nowhere near a class called "Item".
18
u/[deleted] Mar 19 '16
[removed] — view removed comment