Unless something drastically changed in Scala 3, there is nothing to protect you from null in Scala.
In fact even Java is effectively safer thanks to all the null checking done by IntelliJ
For Scala 3 there are improvements. It's "null safe" as long as you opt-in (modulo Java libs, and of course doing stupid things like casting a null to some other type).
https://docs.scala-lang.org/scala3/reference/other-new-featu...
When you have people without clue on the team no language will safe you. You can also crash Haskell programs by throwing exceptions or just using List.head…