首页
17 条评论
caterama4 个月前
Scala used to be my hobby / enthusiast language. Introduced to it through a college course, and used a bit through school. Later, I would use it for Advent of Code, tinkered with a Scala Play webapp, and dream about using it professionally. Rust has almost completely filled that void now. Rust is native, I'm not waiting on the 1.0 release of `scala-native` anymore. The community around Rust seems to be enthusiastic and growing, as opposed to languishing for Scala. I hold some reservations about Rust in terms of how complicated it is. Despite having used it for an amount of time that I would be feeling comfortable in most languages, I am still not comfortable and continually encounter _stuff I don't understand_.<p>RIP Scala, I will miss you! You showed me the joy of pattern matching, functional OO, currying, how to use `map` `flatMap` `fold`, etc. All things with continued influence! <3
评论 #42967481 未加载
评论 #42967313 未加载
评论 #42967545 未加载
评论 #42967394 未加载
评论 #42968110 未加载
dtech4 个月前
I left the Scala ecosystems (mostly) a year or 4 ago, right around the release of Scala 3. It's a shame that the compatibility and tooling situation doesn't seem to have improved much since then. The Scala devs always said they wanted to avoid a Python 2->3 situation, but it seemed like they didn't quite achieve that.
评论 #42966423 未加载
评论 #42966481 未加载
评论 #42966951 未加载
theLiminator4 个月前
Back when I used to use Scala, the biggest PITA was how every minor version bump you'd run into binary version incompatibilities that you'd only run into at runtime. Has that situation changed?<p>I've always felt that Scala the language was always pretty nice, but Scala the ecosystem/tooling was moderately painful to work with. It was getting better over time, but they lost all the momentum they had.
评论 #42966628 未加载
评论 #42966763 未加载
评论 #42966644 未加载
codr74 个月前
That's how I learned to do migrations/major refactoring from my mentors back in the days.<p>First brute force it, observe but don't panic, until you don't get any further.<p>Then start over and do it properly.
评论 #42971316 未加载
philipkglass4 个月前
This is a good report. I started a project last year on Scala 2.13, but had all Scala 3 compatibility features/warnings enabled from the beginning. It sounds like it should be an easy upgrade in the future as long as I don't rely on macros or libraries that rely on macros. I've tried to stick to libraries that already have Scala 3 releases or that come from plain Java.
评论 #42967120 未加载
评论 #42969332 未加载
danielciocirlan4 个月前
This is a good report.<p>Scala 3 is really what Scala was supposed to be. The language is just about perfect, and the most important and popular libraries and tools (Cats/Cats Effect, ZIO, Play Framework, Akka/Apache Pekko) are all supporting the new version for years already.<p>It's really a shame that IDE support has yet to catch up and the dev experience is frustrating at times, but I'm using Scala 3 for everything I can.
评论 #42983659 未加载
评论 #42975025 未加载
lopatin4 个月前
I only allow myself to use Scala these days if follow some rules: no sbt (just Maven) and no Scala libraries (just Java ones). I never used fancy stuff like Cats anyways. Curious to hear who actually does, and for what.
评论 #42967512 未加载
评论 #42967112 未加载
评论 #42967842 未加载
评论 #42967983 未加载
评论 #42968377 未加载
评论 #42967304 未加载
whoodle4 个月前
I currently work at a company who is primarily writing in Scala. I really like Scala but assume my next role won’t be in that. Are my two best options Rust and Java if I want to keep some of the typing, functional style, and pattern matching while also moving to a more popular language?
评论 #42969409 未加载
评论 #42968731 未加载
评论 #42977354 未加载
fulafel4 个月前
It will be interesting to see how Clojure and Scala do in the longer run in the industry oriented FP languages scene. I wonder if there's any data points around that could tell a tale.
virtualwhys4 个月前
Migrated a Scala 2.8(!) era codebase to Scala 3.<p>As OP explains, macros and abstract type projections tend to be the biggest pain points in complex applications; otherwise, with Scala Rewrite tool it's pretty straightforward.<p>I think it's more inertia than anything else that more Scala 2 companies don't migrate.<p>Unpopular opinion, but setting a Scala 2 sunset time would spur companies into action :)<p>As it stands Akka (previously Lightbend, previously TypeSafe) is the maintainer of Scala 2, and derives part of its revenue from Scala 2 support contracts so there's even less incentive to migrate when there's no EOL date as Python 2 (eventually) had.
评论 #42968237 未加载
评论 #42970467 未加载
dylanowen4 个月前
This is a great write up! For people using gradle to compile scala (definitely not my first choice) the initial hurdle to migrating individual modules has been fixed! I'm guessing it'll be in gradle 8.13 <a href="https://github.com/gradle/gradle/pull/31118">https://github.com/gradle/gradle/pull/31118</a>
paulddraper4 个月前
I didn't know the ecosystem wasn't on 3.<p>It was released May 2021.<p>It is a big change though.
评论 #42967311 未加载
rr8084 个月前
Currently work on a Scala/Spark project as part of our work. Everyone hates it except the one guy who knows it well, but for most people who spend most of their time doing imperative languages its just too much of a mind jump. Hopefully soon we'll be on a new big data platform soon and we wont have to deal with a migration like this.
spockz4 个月前
As I mentioned deeper in the thread, <a href="https://news.ycombinator.com/item?id=42969519">https://news.ycombinator.com/item?id=42969519</a>, Java seems to have caught up with Kotlin and Scala language wise. (With Scala3 having the most extensive type system.)<p>The ecosystem also seems to have petered out. Akka, spark, and flink used to be reasons to do scala. But they have decent java interfaces now.<p>I’ve had too much struggles convincing colleagues that actually more information in the type is convenient. It seems like the same religion of untyped vs typed.<p>What is left as reasons to choose for scala or Kotlin?
评论 #42970128 未加载
slavomirvojacek4 个月前
I am wondering whether with GenAI, migrations like this one will be less and less painful, and therefore more people will be able to migrate to newer technologies/versions sooner and quicker.
评论 #42966535 未加载
aristofun4 个月前
Scala has some nice and cool vibes and features to it.<p>But that is where good parts end.<p>From the POV of real world boots-on-theground software challenges and developers it is a poorly designed, overengineered and overrated piece of complexity.<p>Complexity disconnected from reality of software engineering as a tool to serve business needs.<p>I can explain why this happens but I don’t want to get downvotes. People hate hearing bitter truth:)
cbeach4 个月前
Very useful document, thanks Pierre!<p>Our company is still on 2.13 and probably will be for a long time. The reality is that we need rock-solid library support across all transitive dependencies, and mature battle-tested tooling.<p>I like that the Scala language continues to improve, but its appeal in real-world enterprise applications took a hammering due to the backwards-incompatible changes in Scala 3, shaky tooling and ecosystem issues.<p>Also the elephant in the room - the Scala Center and toxicity within the Scala community.<p>The Scala Center Executive Director is a political sciences graduate with no commercial Scala experience, who gave this expletive-laden sexualised rant at a Scala conference:<p><a href="https://x.com/jdegoes/status/1633888998434193411?s=46&t=V_LFasefQl-Q0BteAGBqDg" rel="nofollow">https://x.com/jdegoes/status/1633888998434193411?s=46&t=V_LF...</a><p>When this ugly performance was called out by a member of the Scala ecosystem, it was the guy that called it out that got brigaded and cancelled, while the executive director Darja Jovanovic was defended by the community, and remains in place.<p>And then there's Scala Center Community Representative Zainab Ali, who led an orchestrated witch hunt against a contributor to the Scala ecosystem. She ended up in the UK High Court for her role in this, and admitted fault (defamation) and settled.<p><a href="https://pretty.direct/statement" rel="nofollow">https://pretty.direct/statement</a><p>Like the executive director, the community rep remains in place at Scala Center:<p><a href="https://www.scala-lang.org/ambassadors/" rel="nofollow">https://www.scala-lang.org/ambassadors/</a>
评论 #42966238 未加载
评论 #42966221 未加载
评论 #42965887 未加载