E
egervari
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?
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?