Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C#: No, you don’t get to use the “as” operator any more. Parent comment
You shouldn't get to write code like that anyway. It's C. It's crap.
Here's what you write:
object.some_field.notNull(f => f.foo())
There are no comments on this comment yet.
You shouldn't get to write code like that anyway. It's C. It's crap.
Here's what you write:
and that's only valid if some_field is of type Nullable<whatever>.