On 9/20/06, Phrogz <gavin / refinery.com> wrote:
> Would you really type:
>
>    class Foo
>      attr_accessor( :bar )
>    end
>
>    f = Foo.new()
>    f.bar=( 12 )
>    puts( f.bar() )
>
> One of the greatest reasons for omitting parentheses is that the
> syntactic sugar allows you to write code that *looks* like you're
> assigning values to properties and reading those properties, when in
> reality you're calling methods.
>
>    f.bar = 12
>    puts( f.bar )

Or hell,

x = 5

If you used parenthesis around every method call, this would be
x=(5)

How does that work, actually?  method_missing?