Earlier quoted context omitted.
I use points as I am a bad writer. * Don't use $a, $b for variable names, affecting sort * Don't use each for iterating over hashes * Global effects of .. * next operator is dynamic sub foo() { next; #breaks while loop } while(defined (my $e = shift @items)) { # "0", 0 is false foo(); } * http://www.perl.com/doc/FMTEYEWTK/versus/perl.html * Exception model based on $_ and $@ * print "$foo's fun!"; * `use constant` is…
What modern language do you use that doesn't also have a laundry list of warts?
The only python wart I know is no block scope
for i in [1,2,3]:
print i
print i # still visible
Only functions introduce lexical scope in Python/JS. JS has the ===, this, undefinedThe only ruby wart for me is the difference between block/lambda/Proc and perly features.
Java/Go/Lua don't turn you into a omlette, with their language features. Nor do they leak memory in XS like perl.
C++ is a differnt story.
EDIT: Added JS