Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Best practice or cargo cult?

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 11: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://556416]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.