Anyone who's been through computer architecture should be able to handle a simple logical negation by hand... besides, you can just wrap the whole mess up and throw a Not in front of it if you need to.
While all very true, Perl programmers know how to be lazy (it's one of their virtures). So why would you want to do an if(!(expression)) when you can say unless(expression)? Or, in English, "If not this, do that" compared to "unless this happened, do that."
no subject
Date: 2005-09-13 11:51 pm (UTC)no subject
Date: 2005-09-14 04:52 pm (UTC)no subject
Date: 2005-09-14 02:34 am (UTC)unless ($a == $b) is the same as if ($a != $b)
ugh. That's just lazy.
no subject
Date: 2005-09-14 04:47 pm (UTC)no subject
Date: 2005-09-14 04:52 pm (UTC)no subject
Date: 2005-09-14 04:53 pm (UTC)no subject
Date: 2005-09-14 05:03 pm (UTC)no subject
Date: 2005-09-14 05:10 pm (UTC)And that's another in a long list of reasons Perl is a WORN language. (Write once read never)