News for hackers. Stuff that matters.
Re: by wging on Thursday February 27, 2025 @02:19AM (#43192116)
Do you want to lie to your users, or do you just want to use unconventional operators? If the latter, you could consider using something like ruby's `unless`.

(the number of times I've noticed code that does `unless !some_condition`... which is of course just the same thing as `if some_condition`)

Re: by SirusCodes on Friday February 28, 2025 @08:47AM (#43205523)
Makes sense; I need to think about which would be better.