int/long unification hides bugs

Istvan Albert ialbert at mailblocks.com
Mon Oct 25 10:51:47 EDT 2004


kartik wrote:

> there seems to be a serious problem with allowing numbers to grow in a
> nearly unbounded manner, as int/long unification does: it hides bugs.

No it does not.

Just because a runaway program stops sooner by hitting the
integer limit it does not mean that this having this limit
is a validation method.

 > i feel this is not so important as the quality
 > of code a programmer writes

A code that relies on hitting the integer limit
is anything but high quality.

If you are worried about some numbers growing too much, then
check them yourself, you'll get much better results that way.

Istvan.



More information about the Python-list mailing list