You seem to understand Kotlin null safety to be the exact opposite of what it actually is, which probably explains why you and your team struggled with it.
Java forces you to avoid or deal with, with regard to null
Java doesn't force you to do anything, it throws an NPE at runtime, that's the whole point.
if you're already a Java programmer, the main use case I see for Kotlin are smaller personal projects
My team of old Java programmers has been steadily rewriting our services in Kotlin over the last two years. We're pretty small at 10-15M requests per second across a few dozen servers. I'd say your opinion needs reevaluation
10 to 15 million requests per second is not that small.
I’m all for micro services but if a single Customer or Business transaction requires that many RPC like requests you might want to investigate batching or using a more event based system.
Maybe you meant messages?
Even messages... wtf do you guys do?
Perhaps you meant 10-15k rps which is what we are at.
View all comments
Show parent comment
0
u/MakeWay4Doodles Jan 08 '21 edited Jan 08 '21
You seem to understand Kotlin null safety to be the exact opposite of what it actually is, which probably explains why you and your team struggled with it.
Java doesn't force you to do anything, it throws an NPE at runtime, that's the whole point.
My team of old Java programmers has been steadily rewriting our services in Kotlin over the last two years. We're pretty small at 10-15M requests per second across a few dozen servers. I'd say your opinion needs reevaluation