News for hackers. Stuff that matters.
Re:Pointer Free Programming and the Future of Nim by twic on Friday October 20, 2017 @11:30AM (#15516523)
If, after inlining and so on, the compiler can prove that the condition implies the non-null/Some case, then the check can be optimised away.

If it can't, then the version without the check is potentially unsafe, and the check is not unnecessary.

There are no comments on this comment yet.