by spencerwgreene · 7y ago · 0 comments
Why?
My thoughts: 1) more inefficient programs because encountering an arbitrary-precision expression requires arbitrarily large memory and computation, 2) more complicated language implementation.
The dangerous bit is, that just extracting a variable from constant expressions might change the result slightly. That should not be a problem, unless you are depending on exact values.
Hint 1: Can you imagine ever moving a magic number from an expression into a constant?