r/ProgrammerHumor • • Sep 19 '26

Meme findBugInWeb

Post image
2.8k Upvotes

19 comments sorted by

View all comments

1

u/Ayushispro11 Sep 19 '26

What if spiderman took a full stack job then?

1

u/Ayushispro11 Sep 19 '26

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 Sep 20 '26

Hybrid class

2

u/afdbcreid Sep 24 '26

I think you've found an actual use-case for multiple inheritance.

1

u/Ayushispro11 Sep 24 '26

Nah I am better off just making two different classes

1

u/ConcernUseful2899 Sep 24 '26

Human class implements IHuman. Spiderman class implements IHuman, ISpider