Re: FYI: Ruby 1.6.0 - An object-oriented language for quick and easy programming
[email protected] (Dave Storrs) Tue, 19 Sep 2000 08:07:33 -0700 (PDT)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <Pine.BSF.4.10.10009190805050.52445-100000@megazone23.bigpanda.com> |
On Tue, 19 Sep 2000, Nathan Wiger wrote: > And then there's the lexical variable issue too: > > The default variable scope rules for Ruby (default: local) are > much better suited for medium-to-large scale programming tasks; > no "my, my, my" proliferation is needed for safe Ruby programming Actually, this is the bit that interests me. Most times, when you create a variable, you *do* want local scope. I think I would be guardedly in favor of changing the default scope from global to local (although I have the feeling there is something I'm not considering). What does everyone else think? Dave