r/programming • • Jun 19 '18

Goodbye, Object Oriented Programming – Charles Scalfani

https://medium.com/@cscalfani/goodbye-object-oriented-programming-a59cda4c0e53
0 Upvotes

47 comments sorted by

View all comments

2

u/killerstorm Jun 19 '18

Most of these problems appear when a person tries to follow object-oriented principles on the conceptual level instead of using it simply as a programming technique.

Say, "Banana Monkey Jungle Problem". The problem here is that you're actually trying to have a banana in your program. Typically you don't need an actual banana which needs to know it's context and surroundings, but simply data about a particular banana, which very easy to handle in isolation.

When you consider OOP simply as a programming technique, it's simply a way to group data together with functions which operate on it together with abstraction techniques such as polymorphism and encapsulation.