http://qs321.pair.com?node_id=125123


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

Replies are listed 'Best First'.
(tye)Re: You Say "Cargo Cult" like it's a BAD thing!
by tye (Sage) 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")
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.