2 ms·
> Java has reflection and not method_missing, Yeah, that's what I meant, sorry for the confusion. > yet you are probably the first person I ever heard call Ja
by klibertp 11y ago
> Java has reflection and not method_missing,
Yeah, that's what I meant, sorry for the confusion.
> yet you are probably the first person I ever heard call Java "dynamic"
https://en.wikipedia.org/wiki/Dynamic_programming_language https://en.wikipedia.org/wiki/Dynamic_programming_language - see the "Examples" section.
As I said, "static" and "dynamic" concepts are not well-defined, and they're not binary, either. Most languages have some static and some dynamic components; some are closer to dynamic, and some closer to static end of the spectrum. Java sits somewhere in the middle, a bit more to the static side. It's much more dynamic than Haskell, and quite a bit more dynamic than C++ for example. On the other hand, if you compare it with Smalltalk, Self, Lua, Io and many other usual suspects it indeed looks static like a rock.