News for hackers. Stuff that matters.
Re:Static Typing Where Possible, Dynamic Typing When Needed ... by yoklov on Saturday August 05, 2017 @11:53PM (#14939576)
JS is the only one of those that has dynamic typing, at least by the conventional meaning of the term.
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.
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.