in reply to Re^3: Use of wantarray Considered Harmful
in thread Use of wantarray Considered Harmful
Frankly, I think that a subroutine should return one and only one type of entity.... That leads to serious hard-to-debug issues. This isn't theoretical - it's personal experience speaking.
In isolation, those sound like wise words, but essentially what you are saying now, is that you think all uses of Perl's context sensitivity are bad and should be deprecated, because you've had trouble with it occasionally. That argument is as fallacious as these, please read the counter arguments.
Context is a unique, integral, important and powerful feature of Perl--and unless things have changed markedly in the last short while--it will be at the core of Perl 6 also.
Speaking Perl without using context, is like speaking English (or French or Dutch or German), without contractions. Possible, but stilted, unnatural, laboured. It's speaking Perl like a foriegner.
Children are using contractions correctly aged 3 or 4 years. Can it really be so hard to get right?
Please, please. Is there no one out there with political weight and a descent level of (natural) language skills that'll help me defend my beloved Perl from the one-idiom-fits-all, OO uniformatists?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Use of wantarray Considered Harmful
by Your Mother (Archbishop) on Dec 14, 2008 at 05:48 UTC | |
by BrowserUk (Patriarch) on Dec 14, 2008 at 09:50 UTC | |
by dragonchild (Archbishop) on Dec 19, 2008 at 16:01 UTC | |
by ikegami (Patriarch) on Dec 19, 2008 at 23:04 UTC | |
by BrowserUk (Patriarch) on Dec 19, 2008 at 22:48 UTC | |
Re^5: Use of wantarray Considered Harmful
by dragonchild (Archbishop) on Dec 19, 2008 at 16:05 UTC | |
Re^5: Use of wantarray Considered Harmful
by Anonymous Monk on Dec 14, 2008 at 03:40 UTC |