My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Can someone explain this : w.r.t Drawbacks of Object oriented programming.

Atul Sharma's photo
Atul Sharma
·May 19, 2017

The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.

Someone has cited this example before me .. as an dis-advantage of Object oriented programming.

I didn't get the core .. What he wanted to say.

The same problem can be solved by using function programming instead of object oriented programming.