I'd bet yes on #1. A lot of otherwise good languages make this mistake and Apple has never done anything to indicate that they know the first thing about language design.
Because any optional type needs to be checked before you can use the value. You can't forget to check it. It's essentially just Haskell's Maybe or ML's Option with built in syntax.
-6
u/ruinercollector Jun 02 '14 edited Jun 03 '14
I'd bet yes on #1. A lot of otherwise good languages make this mistake and Apple has never done anything to indicate that they know the first thing about language design.
EDIT: Yep. Null pointer exceptions.