From: gabriele renzi Date: 2003-12-02T07:07:08+09:00 Subject: Re: Rite, Block locals and Autovivification il Tue, 2 Dec 2003 06:35:18 +0900, John Carter ha scritto:: >Perl has what may be an evil solution block locals. > >Certainly maximal surprise but Does What I Mean.... Just my personal feeling.. but I'd hope to avoid stuff like this in ruby. It is fun, powerful and absolutely intrinsic and hard to understand. [1] I'm not saying this is really bad, just I'd prefer this does'nt appear. I strongly believe 'explicit is better than implicit'. plus, a single line: map, count,weight={},0,1 would make this work. Not so much a big cost for me :) [1] If you're going to say 'no, let me explain, this is really clean and intuitive' please consider that i really think this is hard to grasp :)