top | item 46233759

(no title)

jshen | 2 months ago

Which dynamically typed languages perform like a statically typed language?

discuss

order

9rx|2 months ago

It says "more like", not "like". Javascript now performs more like a statically-typed language, as one example. That wasn't always the case. It used to be painfully slow — and was so when Go was created. The chasm between them has shrunk dramatically. A fast dynamically-typed language was a novel curiosity when Go was conceived. Which is why Go ended up with a limited type system instead of being truly dynamically-typed.