Re: RFC 106 (v1) Yet another lexical variable proposal: lexical variables made default
[email protected] (Nathan Wiger) Thu, 17 Aug 2000 21:27:08 -0700
| Newsgroups | perl.perl6.language.strict |
|---|---|
| Message-ID | <[email protected]> |
"J. David Blackstone" wrote: > > 1) Eliminate dynamic variables entirely. Don't think there's a win. You'll need something identically like it, which means you'll have to put lexicals in the symbol table, which means they're just dynamics again... Dynamic variables aren't evil, they're just misused because they're the default. If you make people have to use them explicitly, I think you'll see some really great, thoughtful uses of them in Perl 6. > 2) Eliminate dynamic variables from default Perl, but allow their use > with a pragma. Good, I like. 'use vars' should work fine. > 3) Provide a new strict pragma to disable dynamic variables. Naw, take a stand. #2 is already loose enough. :-) -Nate