News for hackers. Stuff that matters.
Re:Read this post ‘unless’ you’re not a Ruby developer by lsaferite on Tuesday December 13, 2022 @10:51AM (#33970463)
> double negatives

Could you give an example of a double negative in this case?

I ask because using "if" does not lend itself to double negatives in my experience, but just thinking about "unless" I see double negatives being an issue (since unless is already negating the operand).

Re:Read this post ‘unless’ you’re not a Ruby developer by petre on Tuesday December 13, 2022 @12:25PM (#33972224)
Maybe he means unless this and|or|xor that. That's what I use it for rather than negate every paraneter.