The Anti-Wall Illuminati like to disseminate a myth that says that when you cut your teeth on Perl, it breaks your mind permanently, in many nefarious ways, for any other language.
I'm not sure whether it's just about thinking in the wrong language, but there's one syntactical landmine I always stomp on: a lax attitude towards commas after the final element in a list. Ruby seems to be the only other language that lets it slide - Javascript may or may not, depending on the browser and whether the interpreter is having a bad day already.
Now I've decided this is an open letter to the people writing parsers for lists: If I give you commas you'll take them. Oh yes.
even python (Score:1)
rjbs
Re: (Score:1)
Re: (Score:1)
At least a few months ago there were some JSON modules on CPAN who did this too.
Ordinary morality is for ordinary people. -- Aleister Crowley
Re: (Score:1)
Re: (Score:1)
Just be thankful they don't *require* trailing commas.
rjbs