Re:Swift is a lot like Scala
by TheHydroImpulse on Sunday August 24, 2014 @01:40PM
(#8219113)
> Statically typed languages (Java etc) are mainly popular more because of performance, not safety.
No. The whole reason to have types is for safety, type safety. Where more errors/bugs can be found and found a whole lot earlier. That's the basis of the argument of dynamic vs statically-typed languages. If performance was all that matters, we'd all be writing C and C++.
No. The whole reason to have types is for safety, type safety. Where more errors/bugs can be found and found a whole lot earlier. That's the basis of the argument of dynamic vs statically-typed languages. If performance was all that matters, we'd all be writing C and C++.