Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Best practice or cargo cult?

by rinceWind (Monsignor)
on Jun 20, 2006 at 14:56 UTC ( #556416=note: print w/replies, xml ) Need Help??


in reply to Best practice or cargo cult?

I have a copy of PBP in front of me, and the chapter on regular expressions goes into great detail explaining why these should be used all the time.

If the statement "always use /xms" is presented in isolation, then someone presenting this must be prepared to explain why - or cite the pages in PBP.

I don't think that this is advocating cargo cult programming practices any more than recommending "always use strict and warnings" is.

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)

Replies are listed 'Best First'.
Re^2: Best practice or cargo cult?
by Juerd (Abbot) on Jun 20, 2006 at 15:02 UTC

    I don't think that this is advocating cargo cult programming practices any more than recommending "always use strict and warnings" is.

    No, those help catch errors. They don't change semantics.

    /m and /s change semantics in ways that are most of the time unneeded, and sometimes even unwanted.

    Juerd # { site => 'juerd.nl', do_not_use => 'spamtrap', perl6_server => 'feather' }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://556416]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-06-28 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (624 votes). Check out past polls.