On Mon, 2011-05-30 at 19:35 +0100, Jason Clifford wrote: > On Mon, 2011-05-30 at 16:27 +0100, Denny wrote: > > > if (! Email::Valid->address($email_address) ) { > > > > Something wrong with 'unless'? > > No but lots of people appear to find "if" to be more readable
It's not a choice between 'if' and 'unless' though, it's a choice between 'if not' and 'unless'. I'm honestly very surprised that any native English speaker would find 'if not' more readable than 'unless'. Which reminds me, 'not' is also more readable than '!', while we're on the subject. :)
signature.asc
Description: This is a digitally signed message part