> but if we decide that there doesn't have to be semantical contribution to
> your code from using attribute query methods then #{attribute}? is just
> a shortcut for !!#{attribute} - so why do we need it in the first place?
> saving 1 character is weird goal here.

It's not saving a character. It's that !! is programmer talk, and ? is
human talk. Ruby prefers human talk.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to