News for hackers. Stuff that matters.
Re:Rouille – Rust Programming, in French by layer8 on Friday October 31, 2025 @09:58AM (#45772056)
I’m not a native speaker, but I always liked the postfix “unless” in Perl, for use with operations that are performed in the common case and only omitted under special circumstances.

    do_something() unless special_condition;
It vibes with “unless” in English usually implying an exception.
Re:Rouille – Rust Programming, in French by ramses0 on Saturday November 01, 2025 @10:55AM (#45782106)
PERL was too clever by half, but if you leaned into making it readable, there were lots of tricks that could help.

    do_register() unless invalid()
    do_send_email() unless email_down()
    do_login() unless password_to_short()
... it wouldn't be the way you'd do it today, but if used "tastefully", they were helpful!