|
|
|
|
|
by dtech
454 days ago
|
|
They're not in the same playground. Scala has a far more advanced type system - more close in power to Typescript or Rust than Java - and capabilities like compile time metaprogramming which aren't on the Java roadmap. Or more mundane things like immutable collections or a copy method for "record" classes. Whether that's an advantage in day to day business development is a different question. |
|
Scala is even more "powerful" than TS or Rust as it has real HKT (higher-kinded types), and for example Effect.TS needs to emulate/simulate it.
https://github.com/Effect-TS/effect/blob/main/packages/effec...