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

Well, Ruby is OO too, even moreso than Java because there are no primitives in Ruby. Even the "integers" in Ruby are not ints but objects with lots of methods. But Ruby has a lot of powerful, functional, expressive, declarative, and meta language features that Java lacks. Java is like an OOP straightjacket, that's why it gets so much hate.


Correct, the main issue is that many seem to mistake Java's OO model with OOP in general.

Most modern languages are all OO based in some form, while being more flexible, like your example.

Java 8 will probably improve the situation. At least on the enterprise level, I don't see it moving away from Java and .NET anytime soon.




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

Search: