Rebinding can change type? [was: Static Values and Variable Bindings]

2001-11-02 Thread Ken Fox
Garrett Goebel wrote: > Just does compile-time typing for $foo? Not inlining the constant? You can't assume that the value associated with the symbol is the same each time through the code, so how can it be inlined? > I was thinking lowercase typed variables couldn't be rebound, because > they w

RE: Static Values and Variable Bindings [was RE: Perl 6 - Cheerleader s?]

2001-11-02 Thread Garrett Goebel
From: Ken Fox [mailto:[EMAIL PROTECTED]] > > Here in the 10-step Perl 6 program we don't talk about > resolution. We just learn to cope with change. ;) ;) I'm still working to grok the changes. I thought I was getting generally clued in after reading the Apocalypses/Exegesises... but discussions

Re: Static Values and Variable Bindings [was RE: Perl 6 - Cheerleader s?]

2001-11-02 Thread Jonathan Scott Duff
On Thu, Nov 01, 2001 at 10:13:22PM -0500, Ken Fox wrote: > On the other hand, people live with C's preprocessor > and its #undef/#define of constants. If C programmers > don't mind having different parts of a program compiled > with different values for the same constant, then why > should Perl pr

Re: Static Values and Variable Bindings [was RE: Perl 6 -Cheerleader s?]

2001-11-02 Thread Piers Cawley
"Brent Dax" <[EMAIL PROTECTED]> writes: > Garrett Goebel: > # > my int ($pre, $in, $post) is constant = (0..2); > # > # Means that you are asking for compile time optimizations, and > # agreeing not > # to bless references to, or ascribe run-time properties to > # those scalars. So > # we've alre