Skip to content

Comment on Ask HN: Is there life after OOP?

Comments

Try reading the code of an open source project that uses OOP.

or, maybe it would help to first learn about functional programming. Then, you will see that polymorphism is just a poor man's closure.

Anyway, the most important thing is: don't try to fit your program design into the oop model. Instead, model your program in the way that makes most sense to you. If that's not OOP, then so be it.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.