Comment Comment by premium-concern > (Option, nullable return value, and throw an exception if not found)Which Map are you talking about? I don't see the method that returns nulls for missing values.> Kotlin has only single way.... with the nice side-effect of being unable to tell whether the key didn't exist or if it was null. That's the single worst approach one can take. parent premium-concern 9 years ago
Which Map are you talking about? I don't see the method that returns nulls for missing values.
> Kotlin has only single way.
... with the nice side-effect of being unable to tell whether the key didn't exist or if it was null. That's the single worst approach one can take.