From: Nate Wiger Date: 2006-10-18T03:20:44+09:00 Subject: Re: Non-declared variables Kevin Olemoh wrote: > Its probably best to have a strict option like in perl and VB.net. If > I am understanding what Daniel is saying properly and ruby works in > such a way that what should be a typo that generates an error is > accepted by ruby as a legit variable in spite of the fact that the > programmer really meant to say count it creates a set of situations > that are very error prone and that is not a good thing. I very much agree, being a longtime Perl programmer (10+ years). When "use strict" was first introduced, a very similar discussion ensued on the Perl lists about how it was going to be cumbersome/etc. As Kevin says, years later the first thing everyone says in Perl-land is to "use strict", so much that many discussions have considered turning it on by default. My one comment would be to use a common idiom in other languages, like "var", rather than "n". BTW, howdy all (first post). Cheers, Nate