|
|
|
|
|
by spricket
2724 days ago
|
|
Java uses reflection and annotations to support all kinds of language extensions. Js has a lot of nasty issues with the "prototype chain" and annotation support is still experimental. For example, in java, scanning your classes and their annotations to generate code for them at compile time is a standardized feature. Maybe I'm just complaining that JS is too dynamic, but being able to generate code at compile time with reflection and know it will generally work (type checked) is nice. |
|
Tip: in JS, I don't want OOP class. If you really want class, could you show me the intention behind it?