From: Marc Heiler Date: 2006-07-29T21:18:25+09:00 Subject: Re: Wild ideas: Finding a missing 'end' unknown wrote: > Hi -- > > On Sat, 29 Jul 2006, N Okia wrote: > >> x = 3*i >> Using indentation is dangerous, because indentation doesn't mean >> anything in ruby normally, and trying to figure out the right thing >> would mean that we start having to be careful with indentation levels, >> and code works in strange ways because we don't know ruby is 'helping' >> us out. It can make for very hard to find bugs. > > But surely just a warning can't be harmful, even if it mentions what > turns out to be the wrong line -- ? > > > David I agree as far as giving the coder the exact error line in a better way than currently, yes. That would help more than scanning the code for the missing end. :-) -- Posted via http://www.ruby-forum.com/.