Viewing profile — adamwbarr
adamwbarr
HN member- Joined
- Mon, Feb 25, 2013, 10:03 AM UTC
- HN karma
- 3
- Public activity
- 6 items
- HN profile
- View on Hacker News ↗
About adamwbarr
[ my public key: https://keybase.io/awb; my proof: https://keybase.io/awb/sigs/SDc0lNGQSxbX6A3WH93YZzWCXFM9Zu73QiiyOtbFpKo ]
Recent public activity
- story
- story
-
comment
Comment #7689991
I agree that the design is a result of trading off the desire to do away with nulls vs retaining Java interoperability. Preventing (at compile time) only Options from being null is…
- comment
-
comment
Comment #7684713
Ok fair point re it being contrived! Although (having just re-read it), the original post's complaint was actually that: > the compiler (afaik) doesn't prevent you from setting an …
-
comment
Comment #7684490
scala> val x = Some(null) x: Some[Null] = Some(null)