4 ms·
Any substantial differences from Scala's implementation? From what I remember of Odersky's book it seems very similar if not identical. (Which is fine - I'm all
by flavor8 10y ago
Any substantial differences from Scala's implementation? From what I remember of Odersky's book it seems very similar if not identical. (Which is fine - I'm all for Java incorporating the best parts of Scala.)
- kelnos 10y agoThe syntax looks similar, but there's no mention of an `unapply()`-type thing, which would limit the flexibility of this proposal greatly.
- edejong 10y agoFor me the best parts would include: - Type inference - Everything is an object (no more primitives) - no obligatory ';' as a statement separator - Type-classes - Scoped import statements At which point we're actually recreating Scala and we might as well switch :)
- pyrale 10y agoCaustic people may argue that Java already has the worst parts of Scala :p