Hacker News new | ask | show | jobs
by yxhuvud 2679 days ago
> Hashes raise an error if you try to read a nonexistent key.

Depends on what method you use to read it. If you use [], what you describe is true, but if you use the nilable variant, []?, it is not. But yes, having to handle and think of nilability is certainly a big change that will affect a lot of code.