News for hackers. Stuff that matters.
Re:Retrofitting null-safety onto Java at Meta by jlund-molfese on Tuesday November 22, 2022 @11:26AM (#33707512)
Well, C and Scala are some counter examples that immediately come to mind.

Kotlin is probably more similar to Java than any other mainstream language. There’s almost no learning curve there, while going from Java to other “easy” languages like Python requires significantly more time to get used to.

Re:Retrofitting null-safety onto Java at Meta by Milner08 on Tuesday November 22, 2022 @11:58AM (#33707911)
Scala it depends how you want to use it. If you're going for full FP then sure it can take a little bit longer, but you can also just use it like Java+ if you really want...
Re:Retrofitting null-safety onto Java at Meta by Kamq on Tuesday November 22, 2022 @01:12PM (#33708858)
I think there's a difference here between getting acclimated to scala (for new code, presumably), which is reasonably easy, and getting acclimated to a scala codebase that was already written by someone else.

You can do the first one basically the same way you'd do kotlin, the second one can get pretty hairy if someone decided to bring in a bunch of macro heavy DSLs and syntax extensions.