50
all 35 comments
sorted by: hot top controversial new old
[-] idriss@lemmy.ml 13 points 1 day ago

Wow seems like nice article

Open

Start reading (first few sentences)

Large medium pop-up covering everything

Close tab, I am good

[-] Kissaki@programming.dev 4 points 1 day ago

Next post: “Why I am moving away from Medium” (hopefully)

[-] MehBlah@lemmy.world 2 points 1 day ago

Yup another website to add to the filter. Its time to start limiting their access to me.

[-] benjhm@sopuli.xyz 9 points 1 day ago* (last edited 1 day ago)

This article feels to me really out of date. Scala3 was launched nearly five years ago, The tooling and lib-support was indeed dodgy back then but works very smoothly now. Scala3 also broke Scala2 macros, and some people whose business-model was selling support for clever libraries built on those macros made a lot of fuss (bad publicity). Meanwhile Scala3 has new more robust macros which work fine.

I develop in scala an interactive climate-scenario model web-app . It's running the model in your browser (500 years x 250 countries x many gases, sectors, feedbacks etc. - so it's complex)... The scala code compiles to js (or wasm) -which is what runs this web app - but the same code also compiles with scala-native to run fast batch- calculations or tests. It also compiles to the jvm app like my older java code, but I rarely use this now.

Scala3 code looks more like python than java - minimal brackets, and much nicer to read and higher level than rust.
As for tools I just use Zed editor with Metals for LS, Mill for build, and other libs from the lihaoyi ecosystem, no web 'frameworks'. Scala is both robust and flexible. In general - if the code compiles, typically it runs correctly first time, if not the very-intelligent compiler identifies precisely what to fix where (very different from so-called 'AI'). So instead of reams of junk 'tests', it's usually just enough to check whether my climate system plots look and behave as expected - higher level thinking.

As for Kotlin it was effectively a russian-led (at the time) fork of Scala, staying closer to Java - so less flexible, but they did much more systematic marketing - and I suspect some of that deliberately pushed blog posts knocking Scala.
What Scala lacks is promotion, so those following fashions of this hype-driven world won't find it.
For those who use it, it's a great language, to do complex stuff that scales robustly.

[-] soc@programming.dev 1 points 23 hours ago* (last edited 23 hours ago)

Is it surprising that a "worse" language won, when Scala kept making one strategic blunders after another for more than 10 years?

It's not as if they didn't know they were making costly mistakes, they just didn't care.

[-] silasmariner@programming.dev 4 points 1 day ago

Yeah, every so often there's an article like this and tbh it always seems to boil down to 'i couldn't get a job in it' lol. Scala isn't Java or Go, it's never gonna have as many open roles as those sorts of languages. Doesn't feel to me like it's dying -- all the libs I depend on have been available for scala 3 for at least a couple of years now, all the ones that aren't already so feature complete as to warrant 'stable' status get regular updates. Kinda don't like ppl trash talking my favourite language NGL lol 😂

[-] silasmariner@programming.dev 2 points 18 hours ago

Also it is literally the best language for refactoring. Omg. Anything is available -- macros that fold up so tight you can't see it's arse, compile type type witnesses for safe access to partial objects, fuckin' automatic restructuring of auto-generated code, at compile time, to regex hack in the easy fix for a hard problem. It just so flexible, and you can either use that to prevent bugs by making things stricter, or enable incredible things by doing mad unsafe shit (that's still safe, because you still have the compiler). Wow. What a language.

[-] fxdave@lemmy.ml 18 points 2 days ago

And the uncomfortable question is, why was he moved closer to scala in the first place.

(ok I'm no different, I learned elixir once)

[-] GiorgioPerlasca@lemmy.ml 14 points 2 days ago* (last edited 2 days ago)

Because Scala allowed you to write much less code than Java. After Java was bought by Oracle, they shifted to a faster release cadence and new features. But developers still had to use things like Lombok, Guava, and Apache Commons to have an easier way to do things.

Now, both Kotlin and Java 25 have a lot of the features that Scala was the first to introduce, so it does not seem important. But it was very important back then.

Also, the Big Data world was embracing Scala. Apache Spark is written in Scala and so many other important tools and libraries in the Big Data ecosystem were in Scala.

Edit. Fixed information about releases after Oracle acquisition.

[-] locuester@lemmy.zip 10 points 2 days ago

Java 25

Holy hell I’ve been out of that world for a hot minute. I got certified in Java 2 as a young lad in 2002 or so.

Have there been versions the whole way up, or did they skip and jump to match the year at some point?

[-] thedeadwalking4242@lemmy.world 5 points 1 day ago
[-] locuester@lemmy.zip 4 points 1 day ago

It’s an amazing adventure. I’m at the grey beard part. Good times.

[-] GiorgioPerlasca@lemmy.ml 4 points 1 day ago* (last edited 1 day ago)

So were you writing applets and swing applications? It was a completely different time! However, a lot of Java 2 code can run on Java 25 with small changes!

Java switched to a rapid release cycle in September 2017, when the six-month, time-based release cadence was first proposed and implemented. Starting with Java 10 in March 2018, a new version is released every March and September.

Many Java versions are actually ignored by developers, who only use Long-Term Support (LTS) versions, that are released every two years.

[-] locuester@lemmy.zip 5 points 1 day ago

I was doing enterprise stuff. Was a weird time dodging bullshit like j2ee “javabeans” stuff but picking out the signal from the noise.

Mostly did websphere hosted jsp stuff. Moved to that from… check it… J++. It was right in the midst of the MS v Sun lawsuit craziness.

Only did 2 years before a huge MS .NET enterprise pivot back to the dark side where I stayed for 20 years before jumping to embedded and rust blockchain stuff.

[-] loweffortname@lemmy.blahaj.zone 1 points 1 day ago* (last edited 1 day ago)

Java 8 was a thing for a long time (source administered Hadoop clusters that were - and possibly still are - stuck on Java 8).

Java 8 was analogous to 1.8...for reasons.

I wanna say Java 11 (the version after 8) came out around 2011? After that the release cadence was somewhat steady. I think Java 21 landed around 2021?

(Note: I refuse to actually look any of this up.)

Edit: my refusal to look anything up immediately bites as someone else pointed out:

  1. There was a Java 10
  2. It was released in 2018.
  3. Both of these facts helped me remember Java 9 being released.

(Note: I continue to refuse to actually look anything up)

[-] locuester@lemmy.zip 1 points 1 day ago

Java 8 was analogous to 1.8...for reasons.

Yeah Java 2 was actually 1.2 for… same reasons

[-] sik0fewl@piefed.ca 2 points 2 days ago

It was Sun that would not release new versions of Java and let it get stale. That changed when Oracle acquired Sun/Java.

[-] GiorgioPerlasca@lemmy.ml 1 points 2 days ago

You are right. I fixed my previous comment.

[-] theherk@lemmy.world 6 points 2 days ago

At least there is a good reason to use elixir. Beam.

[-] devfuuu@lemmy.world 5 points 2 days ago

One of the top reasons for Scala is the jvm, you can use every library out there that already exists. If you have the needs to integrate with something almost certainly some library exists for it on the jvm so you can just use it and get work done reasonably quickly.

[-] theherk@lemmy.world 5 points 2 days ago

I won’t argue that isn’t true. I’m just saying beam is a value prop that speaks to me. Jvm isn’t, but objectively is for sure.

[-] GiorgioPerlasca@lemmy.ml 3 points 2 days ago

Could you please explain your point of view more clearly? It seems you presume other people should not find the Scala language interesting because you do not.

[-] theherk@lemmy.world 4 points 2 days ago

Not at all. Tongue was firmly in cheek. I work with jvm professionally. I was specifically trying to clarify that I find the beam vm exciting but not jvm and was therefore just kidding around when I made the first comment. Not gate keeping at all. Like whatever you please.

[-] somegeek@programming.dev 2 points 1 day ago

I would also suggest Clojure as his next language. not as popular as go or kotlin but its hinestly magical.

[-] bitcrafter@programming.dev 1 points 17 hours ago

I've been thinking about trying it, but it wasn't obviously "magical" to me when I last took a look. What makes you say that?

[-] somegeek@programming.dev 2 points 5 hours ago

It's just so powerful and versatile. I've been only using it for less than a year, but you can do most things with clojure, and do them good.

GUI, Web backend, frontend, logic programminc, scripting, CLI tools, and so on.

After you get the hang of it and REPL driven development, your productivity keeps getting more.

One thing that makes me really believe in it is how people that are good with it are so productive with it, I would say more that other languages. There are so many great projects built by a small team or solo devs in clojure.

[-] thingsiplay@lemmy.ml 11 points 2 days ago

On a high level, the problems aren't about the programming language itself; it's mostly all the surrounding stuff like upgrade issues and the tooling. And in these points, Rust excels in my opinion.

[-] GiorgioPerlasca@lemmy.ml 4 points 2 days ago

There also was a very toxic environment in the Scala world. See the cases of Tony Morris and Jon Pretty.

[-] devfuuu@lemmy.world 1 points 2 days ago

Which have been removed and there haven't been any major issues with anyone in years.

[-] GiorgioPerlasca@lemmy.ml 2 points 2 days ago

They removed ScalaZ library from the Scala community build in one of the peak moments of the Scala programming language popularity. It was widely seen as a non-transparent, harmful action that damaged trust and seemed punitive. An outside evaluator called it a "red flag" and a "significant risk factor".

Jon Pretty lost his job, income, home, pension, and reputation overnight. He also resigned from his job, gave away his open-source projects, and became homeless. He won in court. The court order required signatories to withdraw their signatures and statements.

[-] GiorgioPerlasca@lemmy.ml 7 points 2 days ago* (last edited 2 days ago)

So many former Scala and Haskell developers moved to Rust.

Rust is currently more famous and widely adopted than Scala ever was.

[-] PokerChips@programming.dev 3 points 1 day ago

Found no reason to subject myself to the jvm and corporate ethos once rust came out but Scala was pretty sweet for the hot second I was using it

[-] GiorgioPerlasca@lemmy.ml 4 points 1 day ago

Scala gives you an immense freedom and you can do things in many, many ways.

The problem is that when you work in an enterprise project, you need people to write idiomatic code.

In Scala, it is not clear what idiomatic code looks like. Imperative and object oriented? With higher order functions? Or fully functional with monads and monad transformers?

I was hoping to hear "I am moving away because the JVM sucks to administer"...oh well. A man can dream.

this post was submitted on 01 Feb 2026
50 points (96.3% liked)

Programming

25012 readers
338 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS