From: Ryan Davis Date: 2011-01-15T20:51:47+09:00 Subject: Re: What are your ruby rough cuts ? On Jan 15, 2011, at 02:42 , Joseph Lenton wrote: > The workaround is to usually cut out large chunks of my code and re-run > until it parses, as this will tell me which chunk I am missing the end. > Even if your file is only 500 lines long this is very tedious work for > something that all other languages are typically good at. The solution is to use a real ruby editor (emacs, vim, textmate, I'm sure many others) that supports proper indentation. The problem pops out visually and is easily solved before it is even a problem. It is also prevented by using various "electric" (that's the emacs term) modes that keep your do/end/{}'s balanced automatically. I don't use this mode, but I see it preventing this problem automatically.