From: Rick DeNatale Date: 2009-11-09T23:55:05+09:00 Subject: Re: Ruby doesn't implement x++ for Fixnum's because ??? On Mon, Nov 9, 2009 at 8:40 AM, Seebs wrote: > On 2009-11-09, Marnen Laibow-Koser wrote: >> Where's the benefit?  What is some actual Ruby code that would be >> improved by these constructs? > >        blahblahblah.each do |args| >          lots of stuff lots of stuff >          if condition >            count += 1 >          end >        end > > I'd rather see "++count".  It's easier for me to read. Hey, I might 'rather' have C allow if statement modifiers. And I might 'rather' have French do away with all those pesky gender agreements and thinking of towers as feminine and a lap around a track as masculine. But they don't, and I find I can live with that, and I certainly have been much happier with Ruby even without a++ or ++a than I ever was in C/C++, and I am, or at least was, competent enough in C to do things like writing compilers in it, and reading and understanding the Ruby source code etc. This whole thread is reminding me of Mark Twain's complaint about the stupidity of the French, because he "never could get them to understand their own language!" -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale