From: ts Date: 2003-02-16T22:18:37+09:00 Subject: Re: Lexical scope and closures >>>>> "d" == dblack writes: d> As one of the two or three people in the world who think that Ruby's d> scoping rules are actually fine, I have to say that after all this d> debate, people had better use whatever the new thing is, whether it's d> necessary or not! :-) Well, the rule actually is simple : a variable belong in the scope where it was first assigned. d> Which, in turn, makes me reluctantly think that it would be better to d> have local be the default, and some way to explicitly import variables d> from outside the block into the block. I think the impact on the d> overall look of Ruby would be enormously less. Well, you want "export" rather than "import", no ? Guy Decoux