On 10-10-10 08:25 PM, egervari wrote: > I just started playing around with ruby and rails, and one thing I've > noticed is that the style of the code is a little odd. People don't > use parenthesis most or even all of the time. > > I find this to look messy. It's hard to tell what is the method, what > is the variable, and how the code is formed at a glance. I actually > find the parenthesis to be more readable. There is no confusion at all > to what is going on, even if it's a bit more to type. > > Is there any reason tastes in style have changed? I think it would be > best to stick with the parenthesis just to make everything consistent. > It should be easier to refactor code and inline things if the > parenthesis were already there after all. > > Thoughts? > its a personal style, for most simple calls parenthesis are left out. i personally like to use them. after a while you get use to reading code with them missing. don't let it worry you too much! -- Kind Regards, Rajinder Yadav