Earlier quoted context omitted.
What about kotlin?
Yes, Kotlin seems to me like the future of Java.
The Road to Scala 3
141–150 of 196 posts
Re: The Road to Scala 3
#142The problem of Scala is that it is outclassed by Rust and Kotlin at its two niches of, respectively, "best designed programming language" and "better Java on the JVM". Scala can't beat Rust because you can't have safe concurrency (and also single-threaded mutation control) without linear types, and you can't have linear types on the JVM; furthermore, a GC and VM-based language is inferior to a native non-GC one provi…
Why can't you have linear types on the JVM?
Re: The Road to Scala 3
#143Earlier quoted context omitted.
What about kotlin?
Yes, Kotlin seems to me like the future of Java.
Re: The Road to Scala 3
#144To all those saying Scala is dying: Personally I am making top money on Scala gigs, and I don't see that changing anytime soon. The people I meet on these gigs share my opinion. Most people wouldn't take a Java job even if it paid more, same for Go or Node ( both of which I have used in production in the last month, and wouldn't take over Scala, with the exception of serverless) Teams in Media, Government and Finance…
Isn't Scala minus the problems you mentioned just Kotlin?
Re: The Road to Scala 3
#145Earlier quoted context omitted.
Yes, Kotlin seems to me like the future of Java.
Kotlin is not the future of anything. They got the Android boost and still, two years later, all they have to offer is a molasses-slow improvement pace and a shitty dev experience in their signature IDE (which also happens to be made by the same company). Last time I tried to create a Kotlin project in IDEA, it couldn't provide type information on hover. The Kotlin dialect of Gradle was barely supported enough to be…
Re: The Road to Scala 3
#146The problem of Scala is that it is outclassed by Rust and Kotlin at its two niches of, respectively, "best designed programming language" and "better Java on the JVM". Scala can't beat Rust because you can't have safe concurrency (and also single-threaded mutation control) without linear types, and you can't have linear types on the JVM; furthermore, a GC and VM-based language is inferior to a native non-GC one provi…
> you can't have linear types on the JVM Why can't you have linear types on the JVM?
Re: The Road to Scala 3
#147Earlier quoted context omitted.
Yes, Kotlin seems to me like the future of Java.
Kotlin is not the future of anything. They got the Android boost and still, two years later, all they have to offer is a molasses-slow improvement pace and a shitty dev experience in their signature IDE (which also happens to be made by the same company). Last time I tried to create a Kotlin project in IDEA, it couldn't provide type information on hover. The Kotlin dialect of Gradle was barely supported enough to be…
Can't comment on the Gradle stuff though, I vastly prefer Maven.
Re: The Road to Scala 3
#148Earlier quoted context omitted.
That’s precisely the issue imo: it’s a language carefully designed to meet Google’s requirements. The whole “we don’t need generics” fiasco was hilarious, though.
Its actually not designed to meet Googles requirements, that just something people who don't know Go say. They have a survey they put out every year and take feedback from customers on issues that arise. They try and fix those issues with as little code as possible, because code and features have a cost.
I wonder if generics and proper dependency management were on this survey you’re talking about...
Re: The Road to Scala 3
#149I really love Scala, but I worry about its future given Google putting its weight behind Kotlin, and the two offering a lot of the same features and philosophy. Does anyone know if the Scala maintainers have addressed this directly?
* If you use even half of Scala's functional capabilities, Kotlin isn't really an alternative. * What Google does with Kotlin and Android is completely irrelevant to the Scala ecosystem and its users. * On the back-end side, Kotlin doesn't intersect that much with Scala. I haven't met anyone migrating from say, Play to Spring thanks to Kotlin's support. * In the big data world, if you rely heavily on Spark, Scala is…
Hi, now you have :) Well, Vert.x and Ktor, not so much Spring Boot.
It's mainly because effective and readable Scala requires a lot more discipline and experience than effective Kotlin for a Java developer. If we'd started solely with experienced Scala devs then I suspect we wouldn't have had an issue.
There is, also, the problem of footguns - we've inherited a large Scala codebase from a sister company, and they, unfortunately, let the devs run free. So there's large amounts of hard to debug, hard to read, Scala magic going on. Implicit classes, inherited three levels deep! Macros! Why? Because they could!
Re: The Road to Scala 3
#150Earlier quoted context omitted.
Its actually not designed to meet Googles requirements, that just something people who don't know Go say. They have a survey they put out every year and take feedback from customers on issues that arise. They try and fix those issues with as little code as possible, because code and features have a cost.
Well, Go magically fits right between C++ and Java, which were both Google’s main backend languages AFAIK. I wonder if generics and proper dependency management were on this survey you’re talking about...
Generics and dep management were on the top of that survey last year. They are the primary focus of the Go team right now. Russ wrote Go Modules for dep managment, the implementation specifically addresses pain points from the community. Generics are a hot topic and looks like we're close to a finalized design.