in reply to Re^4: why does push not default to $_?
in thread why does push not default to $_?
Even fairly regular natural languages (Latin, for instance) tend to have large numbers of irregularities, tending to cluster around the most commonly used words/concepts.
English is, of course, a particularly non-standardized language, but it is, as the poster suggests, modeled after English. Specifically, the "default to '$_'/'@_'" functionality is modeled after default pronouns in English, and is certainly a key concern of this thread.
The "then perl isn't your forte" was kind of a cheap shot, though.
I'm not sure how non-orthogonal it is for a built-in to choose not to default to $_, especially given that most of the built-ins that do default are unary, to my knowledge.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: why does push not default to $_?
by LanX (Saint) on Dec 07, 2008 at 02:58 UTC | |
by Lawliet (Curate) on Dec 07, 2008 at 04:03 UTC | |
by ikegami (Patriarch) on Dec 07, 2008 at 13:05 UTC | |
by Porculus (Hermit) on Dec 07, 2008 at 14:08 UTC | |
by LanX (Saint) on Dec 07, 2008 at 14:24 UTC | |
by ikegami (Patriarch) on Dec 07, 2008 at 17:34 UTC | |
| |
by pobocks (Chaplain) on Mar 28, 2009 at 14:28 UTC | |
by ikegami (Patriarch) on Mar 28, 2009 at 19:00 UTC | |
| |
by pobocks (Chaplain) on Dec 08, 2008 at 04:37 UTC |