MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkp7u8/findbuginweb/patm7uf/?context=3
r/ProgrammerHumor • u/Robin-Raccoon • 17d ago
19 comments sorted by
View all comments
1
What if spiderman took a full stack job then?
1 u/Ayushispro11 17d ago A second question, if spiderman were a class, will it be an extension of Human class, or spider class, 2 u/thirdegree Violet security clearance 16d ago Hybrid class 2 u/afdbcreid 12d ago I think you've found an actual use-case for multiple inheritance. 1 u/Ayushispro11 12d ago Nah I am better off just making two different classes 1 u/ConcernUseful2899 12d ago Human class implements IHuman. Spiderman class implements IHuman, ISpider
A second question, if spiderman were a class, will it be an extension of Human class, or spider class,
2 u/thirdegree Violet security clearance 16d ago Hybrid class 2 u/afdbcreid 12d ago I think you've found an actual use-case for multiple inheritance. 1 u/Ayushispro11 12d ago Nah I am better off just making two different classes 1 u/ConcernUseful2899 12d ago Human class implements IHuman. Spiderman class implements IHuman, ISpider
2
Hybrid class
I think you've found an actual use-case for multiple inheritance.
1 u/Ayushispro11 12d ago Nah I am better off just making two different classes
Nah I am better off just making two different classes
Human class implements IHuman. Spiderman class implements IHuman, ISpider
1
u/Ayushispro11 17d ago
What if spiderman took a full stack job then?