13 ms·
yeah, that's why i don't code in perl
by ultimatedelman 13y ago
yeah, that's why i don't code in perl
- NegativeK 13y agoClaiming that Perl is a bad language because you can obfuscate it just means that you've never looked for "obfuscated <better language>".
- lmm 13y agoI've looked quite hard for obfuscated Python (and there are a couple of other answers to this question using it). It's always been much more readable than that perl.
- SwellJoe 13y agoAnd, it's one of many reasons I do.
- Moto7451 13y agoYour everyday Perl is much nicer: perl -e 'my $vals = ".003, .002, .005"; my @sorted = sort { $a > $b } map { $_ =~ s/ +//g; $_ } split(",",$vals); print "$_ " foreach @sorted;' You can alias the topic variable ($_) if you're not a fan.