From: Nathan Oyama Date: 2010-01-10T05:01:51+09:00 Subject: Ruby editing style rules and recommendation? I asked a question 'Decimal in for loop?' and two members were kind enough to solve this problem. Thanks, Fleck and Aaron. Now I have another question: Are there any editing style rules and recommendations in Ruby? In the previous thread, Fleck wrote: 0.step(0.5,0.1) { |i| p i } while Aaron wrote: (0..0.5).step(0.1) do |f| p f end and both work identically. Which one is recommended in terms of the editing style? In C++, for example, I use Ellemtel rules (www.doc.ic.ac.uk/lab/cplus/c++.rules) . Emacs supports editing assistance in this style particularly auto-indent. . . I'm sure that Emacs supports the similar feature in Ruby too because Matz loves Emacs! Please advise. Thanks, Nathan -- Posted via http://www.ruby-forum.com/.