NonNull template
Atila Neves
atila.neves at gmail.com
Mon Apr 21 13:51:53 UTC 2025
On Thursday, 17 April 2025 at 22:12:22 UTC, Jonathan M Davis
wrote:
> On Thursday, April 17, 2025 11:36:49 AM MDT Dave P. via
> Digitalmars-d wrote:
>> On Thursday, 17 April 2025 at 16:39:28 UTC, Walter Bright
>> wrote:
> That being said, I honestly think that the concern over null
> pointers is completely overblown. I can't even remember the
> last time that I encountered one being dereferenced.
I can, last week. The process crashed, I ran `coredumpctl gdb`,
immediately fixed the issue and carried on with my day. By which
I mean I agree with you that I don't think it's a big deal either.
> And when I have, it's usually because I used a class and forgot
> to initialize it, which blows up very quickly in testing rather
> than it being a random bug that occurs during execution.
That's exactly what I did last week.
More information about the Digitalmars-d
mailing list