From: "Booker C.Bense" Date: 2006-10-12T03:10:24+09:00 Subject: Re: What is the reason for this syntax? -----BEGIN PGP SIGNED MESSAGE----- In article , Kevin Olemoh wrote: >I don't think of the blocks in the same way the real problem is that >since the open brace is so close to the close to another character I >have trouble actually seeing the brace itself. Editors that support >brace matching are great and I use them but they don't help much if I >am looking at code in a book or on a webpage. > >When I say "until such time as the defacto requirement for K&R style >formating with respect to blocks is removed..." I do not mean making >said style illegal in anyway, all I mean is that programs breaking >because someone didn'r use this style is eliminated. > _ It's NOT a formating convention. Newlines are end of statements in Ruby, not formatting convience. Until you get your head around that you'll have a really hard time with Ruby. If you don't like this, pick another language. You're asking Ruby to be broken in a very fundemental way. If you're familiar with perl, your request would be that perl should honor this syntax array.each ; do { #stuff }; _ Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBRS0ycGTWTAjn5N/lAQEC4gQAiSazPxFXxoYyvnQsf/5a0bcOpHyoUIz9 amSkZLJKMqH7QXh1dfLuppYuYsh6m6cqLy0GjG6+YzVyK8kuqdTgWiHBSLfXeblw Mu2dUPeduXaXyS6VyNpv4/UgOQxR1hAwoPyu4a+qAD5zY5mCO4BdkdxCavEabrxy qiJQ9jXD9gs= =ClJp -----END PGP SIGNATURE-----