Hacker News new | ask | show | jobs
by antonvs 104 days ago
Classic object orientation is wrong. It conflates things that shouldn’t be conflated.

Look at Rust, Haskell, Go, Elm, Purescript, or Idris. All of them have something like traits or interfaces, and don’t need the rest of the badly designed OO machinery.

OO was basically a wrong turn that was taken some time after the development of CLU. It appealed to some people intuitively - including me, I implemented and sold a commercial OO language product in the early 90s - but it was always bad technically.