On 6/29/2026 1:05 AM, Richard (Rikki) Andrew Cattermole wrote:
> But you can also throw static analysis at it to catch royally stupid cases like so:
>
> ```d
> void thing(float arg) {
> float f;
>
> return f + arg * 2;
> }
> ```
Default initializing f to nan catches it and propagates the error. Default
initialization to 0 does not.