A Philosophy of Software Design

Forum User forumuser at example.com
Sun Jun 28 00:13:09 UTC 2026


On Saturday, 27 June 2026 at 19:48:44 UTC, Walter Bright wrote:
> [...]
> It behaves much like the floating point NaN value, which is a 
> generally misunderstood and underappreciated.

NaNs increase hidden complexity and require more source code
(i.e. increase source code complexity) in order to do things 
right:

    auto t = (t2);
    if (t < 2.0)
       writeln ("met the climate target");
    else
       writeln ("failed to meet the climate target");


More information about the Digitalmars-d mailing list