Comment

Comment by the_alchemist

Scala happily accepts null as it is the bottom type for AnyRef and needed for jvm compatibility. Kotlin has a compiler check that enforces it, Scala does not.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton