re: What the hell is type-safe language? VIEW POST

re: you could have the compiler verify the types for you or write unit tests instead This is the biggest deception raised in the last ten years and I...

I never said you would write 0 unit tests. You would write no tests for types.

Kotlin has nullability built into the language, so I don't have to write a test what happens when the variable I am passing is null.

I also don't have to do defensive programming and check if the variable is null.

I never check the variable I pass is null, mostly because I am sober enough to not pass nulls where they don’t belong. In CS variables do not become null all of a sudden.

code of conduct - report abuse