3 ms·
When I read between the lines, this section says to me: "Yes, Nim is unsafe, but there are features on the way to help it be more safe." 'not nil' sounds like
by PopeOfNope 11y ago
When I read between the lines, this section says to me: "Yes, Nim is unsafe, but there are features on the way to help it be more safe."
'not nil' sounds like a great addition to the language, but what if you wanted that to be the default behavior without having to pepper it throughout every variable in your codebase?
- Pharohbot 11y agoWell the biggest concern for most is null pointers, so invoking not nil on the pointers would suffice for most