int nan

Simen Kjaeraas simen.kjaras at gmail.com
Sun Jun 28 09:27:17 PDT 2009


Michiel Helvensteijn wrote:

> Simen Kjaeraas wrote:
>
>>> But the beauty of the holy grail is that it's neither.
>>
>> While the ugliness of it is that it's both.
>
> Care to elaborate?

As has already been mentioned, one of the biggest problems with the holy
grail is that it leads to capricious states of "possibly compilable".
There are also bunches of examples in which it will not be able to
deduce if it should compile or not, at least not without breaking
modularity, and even then, functions called from outside sources (dlls,
SOs, OS functions, compiled libraries, etc) will break the system.

This means the system has to be either permissive or conservative when
encountering an problem insoluble to its logic, and this fall-back
mechanism will then work counter-intuitively to its normal working
order, thus giving birth to the system's dualism of both
conservativeness and permissiveness.

-- 
   Simen



More information about the Digitalmars-d mailing list