3 ms·
Static typing is a property of the programming language, not something you "do". Do you mean your clients want static type something? Static typing is a prefer
by lmilcin 7y ago
Static typing is a property of the programming language, not something you "do". Do you mean your clients want static type something?
Static typing is a preference of the developer or development organization on whether they want speed or they need a bit of help to understand what they have before their eyes. It lets the compiler call you out on some of your transgressions at the cost of quirky type system and possibly having to need a bunch more code where a very simple solution would present itself when type system does not get in the way.
Static typing is neither bad or good. It "depends".
- eyelidlessness 7y agoI didn't make any value claims about static typing (though I do prefer it), I just answered the question of what "can't be done as easily with Clojure". You cannot easily statically type Clojure, and as a consequence cannot easily do any of the things that static typing enables in a language, regardless of how much you value those things.
- hota_mazi 7y agoIt doesn't really depend, static typing is objectively superior to dynamic typing, starting with the simple observation that all the mainstream dynamically typed languages are busy adding/retrofitting static typing.