News for hackers. Stuff that matters.
Re:LuaJIT 3.0 proposed syntax extensions by spider-mario on Thursday June 25, 2026 @05:34AM (#48671101)
Same in Perl, hence the good old pattern:

    open my $fh, '<', 'input.txt' or die;
Re:LuaJIT 3.0 proposed syntax extensions by codesnik on Thursday June 25, 2026 @06:45AM (#48671592)
yes, ruby inherited this from perl, though 'or' has lower precedence than 'and' in perl, and they're equal in ruby. Which sounds like something going to cause mistakes, but I yet to see 'and' and 'or' together in the same expression in ruby.