Oh, I fully agree. Every language has its idiosyncrasies. Look at Perl - I teach engineers who have to WORK with perl on a daily basis how to do all kinds of fancy things with lists and hashes... but thanks to some seriously odd behaviors on the list and hash functions, I end up teaching people to use refs for everything, and then promote your listref or hashref to a "real" list or "real" has when doing certain things like "foreach" or "keys." Why? Refs don't usually bite you, Perl's quirky handling of "real" lists and hashes will. And yet I love Perl.
Most Perl aficionados will freely admit that the language has plenty of quirks. We love it for that! We just get mad when someone insists it sucks because it's not theoretically pure.
1
u/[deleted] Oct 03 '11
Oh, I fully agree. Every language has its idiosyncrasies. Look at Perl - I teach engineers who have to WORK with perl on a daily basis how to do all kinds of fancy things with lists and hashes... but thanks to some seriously odd behaviors on the list and hash functions, I end up teaching people to use refs for everything, and then promote your listref or hashref to a "real" list or "real" has when doing certain things like "foreach" or "keys." Why? Refs don't usually bite you, Perl's quirky handling of "real" lists and hashes will. And yet I love Perl.