News for hackers. Stuff that matters.
Re:How I Learned to Stop Worrying and Love the State Machine by icebraining on Tuesday February 27, 2018 @02:50AM (#16471757)

    class Wizard extends Player {
      type T  = Dagger | Staff
      var weapon: T = null
    }
The billion-dollar mistake in a new language? What a waste.
Re:How I Learned to Stop Worrying and Love the State Machine by boubiyeah on Tuesday February 27, 2018 @03:59AM (#16472055)
Yeah that freaking blows. They keep it for compatibility with java. It's not idiomatic code though, you would use an Option.