Live data from Hacker News

Viewing profile — adamwbarr

adamwbarr

HN member
Joined
Mon, Feb 25, 2013, 10:03 AM UTC
HN karma
3
Public activity
6 items

About adamwbarr

[ my public key: https://keybase.io/awb; my proof: https://keybase.io/awb/sigs/SDc0lNGQSxbX6A3WH93YZzWCXFM9Zu73QiiyOtbFpKo ]

Recent public activity

  1. story
  2. story
  3. 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…

  4. comment
  5. 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 …

  6. comment
    Comment #7684490

    scala> val x = Some(null) x: Some[Null] = Some(null)