in reply to Re: My top ten
in thread top ten things every Perl hacker should know

I strongly disagree.

Just because someone else has written a piece of crap, doesn't mean that I have to use it.

In fact I'd say that one of the critical programming skills that few develop is being able to properly decide whether to reuse or ignore a particular wheel. It isn't an easy decision. And it certainly isn't as simple as saying, Always do _____.

The advice to always reuse wheels is good advice to give beginners exactly because they are beginners. Wheels that they're likely to hear about from experienced programmers are always going to be better than what they can write for themselves. But good programmers have a harder decision to make. Because if you actually are good, you probably can create better wheels than a lot that are in use out there. The question then becomes whether it is worth the time and energy to do so. Usually it is not, but sometimes it clearly is.

Replies are listed 'Best First'.
Re^3: My top ten
by apotheon (Deacon) on Mar 22, 2006 at 19:10 UTC

    Someone writing a "piece of crap" hasn't really invented a wheel, though — he's only invented a "piece of crap". If someone presented a 4x12 rectangle on an axle, I wouldn't call it an invented wheel.

    I think, at this point, we're really not disagreeing in principle — only in phrasing.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin