From: Aldric Giacomoni Date: 2010-02-17T05:52:25+09:00 Subject: Re: Why no ++ and --? Sonja Elen Kisa wrote: > "foo += 1" somehow seems less elegant or pretty as "foo++". > > Is there any reason Ruby doesn't have ++? Is it something that might be > added in a future version? foo+=1 follows the POLS. foo++ leads to tricky behavior and tricky code and "clever" programming, which is usually a Bad Thing(tm). -- Posted via http://www.ruby-forum.com/.