4 ms·
I love how every JS rant has type safety in it. You can immediately tell that "ranter" does not use JS. Dynamic types are one of the best parts of J s
by MoD411 11y ago
I love how every JS rant has type safety in it. You can immediately tell that "ranter" does not use JS. Dynamic types are one of the best parts of J
s
- gamechangr 11y agoWish I could upvote twice. Totally agree.
- berserker-one 11y ago??? I don't see any reference to type safety. Are we reading the same article?
- horrido 11y agoMoD411 is referring to "loose typing and freewheeling coercions." This is not about "type safety." It's about having a predictable and reasonable binding of types. JavaScript is very sloppy in this respect, especially with regards to the underlying semantics.
- horrido 11y agoThe article gives 8 examples of transpiled languages, 4 dynamically typed and 4 statically typed. There's no real preference for static typing, and in fact I'm a big fan of dynamic typing. However, there's a difference between a strongly typed dynamic language and a weakly typed dynamic language. JavaScript is an example of the latter and it's done very badly (eg, inconsistent semantics). The lack of discipline makes it difficult to write safe, reliable software. Thus, JavaScript is ill-suited for serious software engineering.