|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
As Zaxo said, it was never deprecated. However, for years
there was a band of people that never listened to Larry.
Larry said that Perl was there to serve the programmer, and
the programmer should never be a slave to the language. Yet,
this band of people decided programmers should know the
details of the implementation, and should hence know how
inefficient perl handled map in void context (due to the fact
that map, unlike most other functions, didn't inspect in which
context it was running). And this band of people would throw
dirt at any programmer that used map in void context, scolding
them, as if the Perl programmers were guilty of the perl programmers neglect of making map efficiently. (Use of capital and lower case in the previous sentence is very
significant).
There was another round of mud throwing going on on Usenet last month. It prompted me to followup with the following (I've responded to the stone throwing similar for years): Poor style? Why? Return values of print and assignment are usually not used either, but noone considers that poor style. And that triggered Tassilo v. Parseval to write a patch. It turned out to be a three line patch. Imagine, all the energy wasted scolding at innocent programmers, while the fix was relatively easy! Don't get intimidated to easily when people are chanting "bad style". Chargo cult chanting is in the Perl world far more common than cargo cult programming (although many people will easily chant "cargo cult programming"!). Think for yourself. And people that chant "bad style", think for yourself too. Don't mindlessly copy the behaviour of someone who is "famous". That's how religions start. Think for yourself. Abigail In reply to Think for yourself.
by Abigail-II
|
|