l3mming

joined 1 month ago
[โ€“] [email protected] 6 points 1 week ago

Artix is an under-appreciated gem.

[โ€“] [email protected] 2 points 1 week ago* (last edited 1 week ago) (4 children)

You clearly haven't used Perl a lot. Perl's ternary looks like:

$even = $num % 2 ? "nay" : "yay";

Incidentally, it is also the same as PHP's, but mainly because PHP stole it.