Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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)


Comment on Re: Best practice or cargo cult?
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-11-28 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (196 votes), past polls