I was looking for some basic examples of Scala syntax, and it looks like they've changed quite a bit in the 2 -> 3 transition!
It's the biggest syntax change I think I've seen in an established language.
Languages with large ecosystems often develop interoperable languages. Scala, Clojure, F# and Typescript all benefit from compatible packages in the "primary" language.
I think Rust will eventually see these too. What will they look
Wilfred Hughes
Shared words: Scala, looks, think, language
Score: 152.8
Writing type params with <> (e.g. List<Int>) seems the most natural to me: probably because I encountered that syntax first.
Between C++, Java and TypeScript I think it's the most common too.
List[Int] seems to be next most common (Scala, Python) but TIL Gleam uses List(Int)!
C : C++, Java : Scala/Kotlin, JS : TypeScript. There definitely seems to be space for languages that target the same platform.
AFAICS the success criteria are: great interoperability, similar toolset, similar syntax, and a more elaborate type system.
Are there counterexamples?