List: discuss@lists.openscad.org
From: Jordan Brown
Re: Adding an undef-coalescing operator '??'
Sun, Oct 20, 2024 12:37 AM
Nobody will die, but every such magic case that you add makes the
language harder to understand.
---
Let's look at other languages for a moment. (Again, "not declared or
initialized" is different from "initialized to the 'undefined" value".)
Perl... doesn't report undefined variables at all.
JavaScript... undefined variables are an error, even in ??.