Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

You Say "Cargo Cult" like it's a BAD thing!

by chip (Curate)
on Nov 13, 2001 at 23:35 UTC ( #125123=note: print w/ replies, xml ) Need Help??


in reply to Re (tilly) 2: Paradigm Shift - Dual Use Constructors
in thread Paradigm Shift - Don't use strict

"Cargo cult" programming is evil only if it's a lifetime pattern. As a part of larval stage, it's entirely normal. Human beings learn, in part, by imitating what they don't understand ... yet.

For further information, see any human child.

    -- Chip Salzenberg, Free-Floating Agent of Chaos


Comment on You Say "Cargo Cult" like it's a BAD thing!
Re: You Say "Cargo Cult" like it's a BAD thing!
by dws (Chancellor) on Nov 14, 2001 at 00:56 UTC
    "Cargo cult" programming is evil only if it's a lifetime pattern. As a part of larval stage, it's entirely normal.

    Many of the complaints that I see merlyn and other making against Cargo Cult programming are in the context of production code.

    Granted, we're all larva at some point, but on my projects, I try to avoid letting larva write production code.

    That may sound snotty, but a lot of what we do here is try to get people past the larval stage by pointing out what's bad about what they're going, and pointing out what they could do right.

(tye)Re: You Say "Cargo Cult" like it's a BAD thing!
by tye (Cardinal) on Nov 14, 2001 at 03:45 UTC

    I've come to hate the term "cargo cult" myself. Many people copied that constructor code from standard documentation. I thought such copying was more accurately called "best practices".

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-10-21 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls