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.
Oh I don't know (Score:1)
OTOH Perl catches most of my typos for me far more conveniently than Ruby does. That fact alone is worth a lot to me.
Re: (Score:1)
Ruby definitely has some advantages over Perl, especially with handling references (Python wins here too) and blocks (Python fails).
I don't think Ola was talking about syntactic features though. I took that to mean advice like "Don't auto-generate subs you know you need at compile time through
AUTOLOAD." and "Always use thestrictandwarningspragmas for code you care about."That's the idiomatic level of programming, and it's a level you can't pick that up in a week by skimming the documentation.
Oh, come on (Score:1)
Then again, there's no way that Ruby would let me perform the trick of having a proxy object magically become the object it was a proxy for.
Re: (Score:1)
I agree, and I wouldn't dream of arguing otherwise. However, the conventional wisdom in the Perl world for ages was "Just bless a hash", and now that conventional wisdom is starting to be "Use an inside-out object; encapsulation is good."
These are changes in community wisdom, not in the language, and that's the point I think Ola was trying to make.
Y
Re: (Score:1)
It is? Since when? Christ. Should I start re-writing all my code?
It would probably help if I finally learn what inside-out objects actually are. Every time I've tried before, my eyes have glazed over after a few lines and I've gone back to writing plain old objects that just work the way I expect them to.
(None of this is sarcasm. Seriously.)
The Right Way To Do It (Score:2)
See also: The Right Way To Do It [perl.org].
And I'm real curious what "the Perl problems" are.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Ruby does have some advantages. (Score:1)
Re: (Score:1)
I agree. There's just one reason Perl 6 is so much nicer to use (even now in its unfinished state) than Perl 5.
Re: (Score:1)
In a sense, Perl 5 the language doesn't provide much more than Smalltalk the language does (smalltalk message dispatch boils down to 'tell the target object to handle this message with these arguments; it's down to the target object to decide what to do with it'), but Smalltalk the environment/library
Re: (Score:1)
That's completely true, and I have no objection.
I do expect, however, people who make language comparisons to have used all of the languages they compare. It doesn't suffice to port Java's "Hello, world!" to a new language and then write about how it's impossible to do things in the new language that you d
Re: (Score:1)
Re: (Score:1)
We've met actually. Ward Cunningham introduced us. My mind boggles sometimes.
Re: (Score:2)
Still, we've all known for a long time that I'm an unreasonable man.
Just like Ralph Nader [wikipedia.org]! (BTW, I quite enjoyed that movie. I've always admired Nader even when I thought he was full of it, because he desires what he thinks is good for everyone, and he has principles, and actually acts on them. Imagine that. If this is at the core of being unreasonable, then we need more unreasonable people.)
Perl on-click installer... (Score:1)
At least until that later conversation.