NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
It's true for authors of editors at least... (Score:1)
God knows it makes life easier.
My (modified and I hope more accurate) argument would be that a simpler syntax makes writing editors and other tools easier, and the quality of the tools make learning and using a language easier.
Perl doesn't do well on that metric either
Re:It's true for authors of editors at least... (Score:2)
I read some of this article and man, it's got screwy logic. Like "variables are global by default" is bad. Why? There's no objective truth there. And if he doesn't like it, use strict and the problem goes away. BFD.
And then there was this gem: Yet he had no problem with this: So why didn't he just do this?: Probably because he didn't know. Heck, don't even call it arrayRef. If you are calling $array, you already know it is an arrayref. Just do: Now would he say "YUCK!"?
As to "passing by reference" being "ugly," I don't see why. I see it as clear and logical. But whatever, if you don't like, then use all references to begin with. No big deal. But this from someone who complains about changing the "prefix."
And then he appears to think that print should actually MUNGE YOUR OUTPUT.
If he knew Perl, he could be perfectly happy, I imagine, with this, apart from parameter passing: I think it shows that he doesn't really understand Perl, and he is arguing largely from ignorance.
Reply to This
Parent
Re: (Score:1)
Yup, pretty much.
I'd say there's really not any useful points to recover from that article, except what we already know about the relationship between grammar and tool quality.