On 7/30/2014 10:19 PM, bearophile wrote:
Walter Bright:No, it will break code that already is broken.I have probably lost the grasp of this part of the discussion. But I don't see what's broken in using assert to verify that a pointer is not null. Do you think that pointer comes from "outside"?
Daniel wants his code to be in a valid state even if the assert is not true, i.e. he wants it to continue to operate as if the pointer might be null.