News for hackers. Stuff that matters.
Re:First look: adding type annotations to JavaScript by cphoover on Thursday March 10, 2022 @10:12AM (#30627775)
Scala is a perfect example of an overly complex bloated mess with so many foot-guns I can't even begin to count them.

EDIT: I never said JS shouldn't evolve! JavaScript has evolved a ton! From better handling of asynchronous control-flow with promises and then async/await, to destructing, spreads, constant assignments, Map/Set objects, a number of other improvements I can't even begin to list. But none of these changes fundamentally changed JavaScript from being a dynamic weakly typed language.

Re:First look: adding type annotations to JavaScript by halfmatthalfcat on Thursday March 10, 2022 @10:47AM (#30628209)
I actually write a lot of Scala and beg to differ. The chances for bad developers to write bad code in Scala are higher than most other languages but what you might call foot-guns are actually elegant ways at solving complex problems.

A lot of these "problems" (implicits, enums, etc) were solved with Scala 3 too. Another example of a language evolving and becoming better based on community feedback and thoughtful iteration.