From: Christian Neukirchen Date: 2005-09-25T20:22:02+09:00 Subject: Re: Why is this not a syntax error? Joel VanderWerf writes: > Jamey Cribbs wrote: >> Switching back and forth between Python and Ruby bit me in the butt >> today. For example, consider the following Ruby code: >> >> a = 1 >> >> if a == 0 >> puts 'zero' >> elif a == 1 >> puts 'one' >> else >> puts 'not one' >> end > > Syntax hilighting in your editor works wonders on this kind of butt-bite. It's enough if they properly indent your code. :-) > Joel VanderWerf -- Christian Neukirchen http://chneukirchen.org