From: Frasier Mruby Date: 2008-10-07T10:18:16+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? Mark Thomas wrote: > After you use ruby for a while, you'll stop wanting to make it look > like some other language. You'll realize it's nice the way it is. And > certain things will start to grow on you, such as using @x instead of > self.__x. > Ok. I will try to use ruby more then. I like ruby's other syntax such as @x than self.__x. Only complaint is the "END", which I have to type even for a couple of short lines of IF. > If that's a one-line 'if', what's this? > > print a if a > 0 > > even better, that's what. :) > > -- Mark. Yeah, that's one line if but it seems Mats mentioned one syntax before like : if a > 0 then do this . Sth like that. When if clause is longer the existing one-line if may not looks elegant. Thanks. -- Posted via http://www.ruby-forum.com/.