From: "David G. Andersen" Date: 2004-10-27T07:50:56+09:00 Subject: Re: Lint for Ruby On Tue, Oct 26, 2004 at 02:22:26PM +0900, John Carter scribed: > > A very interesting question, what static analysis do we need for Ruby? Things that look like accidental violations of variable scoping, until the language has something a bit more elegant to handle said scoping: i = 3 ... arr.each { |i| do_something_with(i) } ... print "Why is i not 3?\n" if the project is such that it's not worth implementing unit tests (aka, it's a quick hack), the more static analysis you can get, the better. Plus, it's always nice to have redundancy in your sanity checking. -Dave -- work: dga@lcs.mit.edu me: dga@pobox.com MIT Laboratory for Computer Science http://www.angio.net/