On Thursday, March 6, 2003, at 10:49 AM, pero wrote:
And what about things like number-support? Your last statement was, that
we should implement it even if we know that it breaks backwards compatibility.
During the discussion I suggested to make the number-support pluggable to
ensure the complete backwards compatibility but you did not like the idea
of having a core functionality pluggable. So do I btw. With full number support
things like:
#if (5 / 2 == 2)
If the parser detects /-?[0-9]+/ as Integer, and /-?[0-9]*\.[0-9]*([Ee][-+]?[0-9]+)?/ as Double, it need not break compatibility. Then:
5 / 2 == 2 (Integer / Integer == Integer) 5 / 2. == 1.5 (Integer / Double == Double) 5. / 2 == 1.5 (Double / Integer == Double) 5. / 2. == 1.5 (Double / Double == Double)
C does this, Java does this... It's not that complicated, really.
My USD 2E-2 ...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
