Re:Scala projects are difficult to maintain
by terhechte on Monday March 22, 2021 @10:30AM
(#26541330)
I did a lot of Scala some years ago and also ended up in sort of a ragequit. Nowadays I'm mostly doing Rust or Swift. Rust, of course, has a steep learning curve due to the lifetime & borrowing system. However, the errors are usually very easy to understand. In the rare case where they aren't, it is easy enough to figure out what's wrong by searching for the error message.
One of the Scala issues I had was that the error was the compiler throwing up a stream of sigils because some generic requirement didn't hold and it was very very difficult to search for, let alone understand what was wrong. Granted, it's been almost 6 years since I stopped using Scala. The experience that broke me back then was trying to use Slick, a typesafe Scala ORM. I forgot the details but I remember it was astonishingly hard to use back then and I couldn't for the life of me tell what was wrong because the compiler error message was so cryptic.
[ Parent
| on HN ]
Re:Scala projects are difficult to maintain
by AheadOfTime295 on Monday March 22, 2021 @12:51PM
(#26543340)
The maintainer of Slick was in the last round of layoffs at Lightbend. Not sure who maintains Slick these days.
Re:Scala projects are difficult to maintain
by AzzieElbab on Monday March 22, 2021 @10:52AM
(#26541644)
Yeah slicks errors were terrifying back in the days. They fixed both slick and scala to simply tell you which implicits were missing
Re:Scala projects are difficult to maintain
by thinkharderdev on Monday March 22, 2021 @10:47AM
(#26541568)
Yeah, it has gotten tremendously better in the last couple years when it comes to cryptic compiler errors. But even then Slick was a particularly egregious example. I had many WTF moments using Slick a few years back.