From: Joseph Lenton Date: 2011-01-15T21:07:58+09:00 Subject: Re: What are your ruby rough cuts ? Ryan Davis wrote in post #975115: > 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. > I already do use a proper editor and indent my code correctly, but there are times when they can still slip through. Regardless of if you chop up your code or read straight through for mismatches, it's still time wasted on a really trivial typo. -- Posted via http://www.ruby-forum.com/.