chromatic skribis 2005-10-07 12:50 (-0700):
> > > >     my Array $a = 97;      # dies eventually, but when?
> > > Runtime -- cannot coerce Int value to Array
> > It is fully determinable at compile time. 97 will never be compatible
> > with Array, so I see no reason to wait.
> If I added a multisub for Array assignment so that assigning an integer
> value set the length of the array, would 97 be compatible with Array?

If that is actually possible: good point.

> > Do remember that some programs run for weeks or months, rather than a
> > few seconds. It's nice to get all the certain failures during compile
> > time.
> How about in unreachable code (which I do actually believe compilers can
> detect some of the time)?

I'm quite ambivalent about this.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to