Re:A Year’s Worth of Opinions about Objective-C
by frou_dh on Saturday December 14, 2013 @12:30PM
(#6906286)
"static duck typing" AKA structural typing ;-)
Discussions about typing seem pretty fruitless because there are often a lot of people talking past each other because they're not working off of shared definitions of what the terms (typed untyped static dynamic strong weak) actually mean.
Re:A Year’s Worth of Opinions about Objective-C
by Strilanc on Saturday December 14, 2013 @12:47PM
(#6906348)
I generally assume people will understand static/dynamic as 'type associated with variable' vs 'type associated with value'.
But you're dead on about strong/weak. You may get away with stronger and weaker, but strong and weak have no widely agreed upon meaning w.r.t. types.
I definitely prefer static typing over dynamic typing. I don't really mind duck typing so much as I mind dynamic duck typing (for example I like how Go does duck typing).
I do try to mention that preference for static typing in the post a few times, to make it clearer that it's the dynamism that's bothering me (as opposed to the design being wrong).