Difference between the following terms and types in Scala: Nil
, Null
, None
, Nothing
.
refer to Representing Emptiness In Scala (with Null, null, Nothing, Nil, None, and Unit)
Nil
, Null
, None
, Nothing
.refer to Representing Emptiness In Scala (with Null, null, Nothing, Nil, None, and Unit)