3 ms·
> You can also rely on the fact that logical expressions are always short-circuited, so False && Print["won't be printed"], doesn't print anything. This is tru
by klez 13y ago
> You can also rely on the fact that logical expressions are always short-circuited, so False && Print["won't be printed"], doesn't print anything.
This is true for any language I can think of.
E.g. in perl
open(my $fh, "<", "input.txt")
or die "cannot open < input.txt: $!";
is idiomatic