Re: FYI: Ruby 1.6.0 - An object-oriented language for quick and easyprogramming
[email protected] (Nathan Wiger) Tue, 19 Sep 2000 08:26:16 -0700
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
Dave Storrs wrote: > > > 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? There's been a big discussion on -strict on this. I invite you to join the list and check out RFC 106, which I feel is a pretty good proposal. But please, any further discussion on this needs to be on -strict, not here. Thanks. -Nate