Most of this boilerplate will be hidden behind standard libraries like Cats and ZIO-prelude, so users will almost never have to define their own derivations. This is a good thing for adopting typeclasses in Scala as first-class citizens, rather than a mix of features.
-
Show this thread
-
IntelliJ support for Scala 3 could be better. I had to juggle between : and = for definitions. Some common refactorings/create-from-usage aren't supported properly yet. The editor still throws a bunch of errors randomly. This will be improved as usage increases.
1 reply 0 retweets 1 likeShow this thread -
BTW the top level image is actual compiling Scala 3 code - no imports, no main object. Top-level functions are a huge win!
2 replies 0 retweets 6 likesShow this thread -
Replying to @hmemcpy
So Scala 3 is basically statically typed Python with embellishments. Yucksies.
1 reply 0 retweets 0 likes -
Replying to @tomerg
The braceless syntax is totally optional. The rest? I'd rather have a statically-typed Python than a poor Haskell imitation.
2 replies 0 retweets 0 likes -
Replying to @hmemcpy
And I really can’t get behind the “poor Haskell” claim. Inspired by, sure, but that’s like saying JS is a “poor Scheme”. It misses fundamental differences and doesn’t do justice to either fan base
1 reply 0 retweets 2 likes -
Replying to @tomerg
That I agree with. I have long maintained that Scala is neither "better-java" or "worse-haskell". It's Scala. It should be used like Scala. However, Scala 2 does suffer from feature envy, and Scala 3 improves that significantly.
1 reply 0 retweets 3 likes -
Replying to @hmemcpy
I would love to agree with that sentiment, but I expect the major syntax change to either 1. Pivot the entire ecosystem, alienating existing fans (like me) in favor of broader audiences; or 2. Fracture the ecosystem entirely into two fragile and uncooperative segments
1 reply 0 retweets 0 likes -
My money is on the latter option. While 1 represents a best-case scenario, this would be better-served by deprecating the older syntax (with tools to support migration). This middle ground is just going to fracture an already-divided community around one more axis.
2 replies 0 retweets 0 likes -
I think I had vivid discussions with
@odersky and@propensive about this a couple years back; I was in the minority opinion then as now, apparently
1 reply 0 retweets 0 likes
I'm not sure the fragmentation is such a problem if there are many axes, but I'm an optimist like that...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.