Tugger the SLUGger!SLUG Mailing List Archives

Re: [coders][NRS] 1st night

Benno wrote:

> Hopefully, one of the ruby guys can explain it more. I guess I'm asking 
> is the construct
> x unless y
> The same as the construct:
> if not y
>    x

Yes it is, a concept borrowed from Perl. I even allows brain damage

       # Huge chunk of code. 
    unless condition

Looks like theres a potentially good Ruby troll there. Cw :


  Erik de Castro Lopo
"I consider C++ the most significant technical hazard to the survival
of your project and do so without apologies." -- Alistair Cockburn