Current sentiment on Nullable.get
doob at me.com
Mon Dec 10 11:01:29 UTC 2018
On 2018-12-10 11:01, FeepingCreature wrote:
> Having recently been reminded that `alias Nullable.get this` exists, I'm
> considering a pull request to deprecate it. What's the sentiment on
> `alias Nullable.get this` in the community? My unchanged stance is that
> it's a blight and an interminable source of impossible to find runtime
> bugs, and an anti-feature that misses the point of Nullable to provide
> safe optional types.
I agree that `alias Nullable.get this` should be deprecated. I think the
whole Nullable should be deprecated and replaced with Optional.
More information about the Digitalmars-d