Re:Static Typing Where Possible, Dynamic Typing When Needed ...
by ridiculous_fish on Sunday August 06, 2017 @12:15AM
(#14939626)
Do you mean it's the only one without static types? All three are dynamically typed to some degree. For example, in ObjC, messages dispatch on the dynamic type of the object.
[ Parent
| on HN ]
Re:Static Typing Where Possible, Dynamic Typing When Needed ...
by sds2 on Sunday August 06, 2017 @04:23AM
(#14940386)
Both Objective-C and Java are statically and strongly typed. What you're thinking about is probably a runtime-reflection mechanism. The JVM, java's host is capable of supporting dynamic languages through 'invokevirtual' but it doesn't make java dynamically typed.