News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by dylanowen on Saturday April 30, 2022 @08:33AM (#31215555)
I was pretty skeptical of this and yes I'd rather not have null at all. In practice though I've found the boundary with Java for my scala projects to be very small. This is definitely a function of what you're building but there are a lot of great scala libraries so we rarely need to reach for java.
Re:Lies we tell ourselves to keep using Golang by mumblemumble on Saturday April 30, 2022 @11:31AM (#31216766)
Yeah, that's absolutely fair, a greenfield Scala project can avoid a lot of Java nowadays.

But, at the other end of things, teams that were already using Java and want to start incorporating Scala don't have that option. And 10 year old Scala projects didn't originally have that option, and doing something about it now may be a lift on the scale of a complete rewrite.

Re:Lies we tell ourselves to keep using Golang by dylanowen on Saturday April 30, 2022 @12:01PM (#31216984)
Yeah good point. I would not enjoy adding Scala throughout an established Java project unless I could really compartmentalize it