Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always thought OOP was an overused pattern. If you don't need inheritance or information hiding, what does OO give you that can't be accomplished more easily with functions and arrays/hashtables?


Whether inheritance is an essential quality of OOP is IMHO debatable. This leaves us with data abstraction and polymorphism.


And Haskell solves those two problems pretty nicely without OOP.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: