Colin Law wrote:
> 2009/10/1 Greg Donald <[email protected]>:
>>
>> On Thu, Oct 1, 2009 at 2:52 PM, Colin Law <[email protected]> wrote:
>>> I think Jeffrey is right, "unless" with complex logic is just too
>>> difficult for most of us to get our brains round easily.
>>
>> You just insulted thousands of Perl programmers.
>>
>> But seriously.. it's just the opposite of "if".
> 
> Easy is the opposite of Difficult :)

I agree.  Even in Perl, many people consider unless poor style.

> 
> Maybe I should not have said 'most of us' but certainly it applies to
> me.  There is a similar problem with variables with names like
> not_valid, it is too easy to overload the brain when included in a
> logical expression.

Quite. Never forget to avoid omitting to eschew expressing things in 
anything other than non-excessively negative form. :D

> 
> Colin

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to