by kaashif · 3y ago · 0 comments
I know Kotlin is basically supposed to be that, it has a lot of other stuff though, and I haven't used it much.
They actually fixed the billion dollar mistake...
I haven't worked with Kotlin in a while, but IIRC their non-nullable references actually do include runtime checks, so you cannot simply assign null to a non-nullable and have it pass at runtime like you can (easily) do in C#.