chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Pessimizing undefined behavior


From: felix . winkelmann
Subject: Re: [Chicken-hackers] Pessimizing undefined behavior
Date: Thu, 04 Apr 2019 18:17:07 +0200

>
> Nothing changes if we statically assign these values, the user still
> cannot rely on undefined to be either true or false.

Once you give a fixed meaning, even by doing an optimization based
on this meaning, users _will_ start to rely on it. At that stage it isn't
undefined anymore.

> > Sure, that could even be considered a benefit. Yet, I'd rather see removing
> > the "undefined" status altogether from forms like that than make it mean 
> > something
> > specific in some specific cicumstances.
>
> I don't understand this. What do you mean by "removing undefined
> status"?

Return a defined value in all cases.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]