in reply to Re^2: why does push not default to $_?
in thread why does push not default to $_?
I never said I want that push accepts a default second argument, I just want a consistent and orthogonal behaviour.Then Perl isn't your forte. Perl was designed with the human mind and natural languages in mind - neither of which are consistent or orthogonal. (BTW, my 'you' was a generic you, not specifically aimed at you).
It may be the occupational disease of a mathematician, but I just prefer a predictabel symmetry in logical systems!Guido van Rossum is a mathematician as well. Hence Python. (This isn't meant as a jab at Python - far from it; Python is a nice language, it just has a different philosophy than Perl).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: why does push not default to $_?
by LanX (Saint) on Dec 06, 2008 at 02:43 UTC | |
by pobocks (Chaplain) on Dec 06, 2008 at 23:36 UTC | |
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 pobocks (Chaplain) on Dec 08, 2008 at 04:37 UTC | |
by JavaFan (Canon) on Dec 06, 2008 at 17:27 UTC | |
by LanX (Saint) on Dec 06, 2008 at 19:29 UTC |