Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Simplicity vs. Doing It Right

by PodMaster (Abbot)
on Oct 13, 2002 at 06:41 UTC ( [id://204864]=note: print w/replies, xml ) Need Help??


in reply to Simplicity vs. Doing It Right

$^RANT=1;

"The right way" is the easiest way for me. I don't wanna learn the inner workings of HTTP or other very complicated protocols, just so I can serve up some images and stuff.

Learning to use modules is easier than learning complicated crap.

Real problems or not, you do things your way, and others'll do it theirs, regardless.

Looking it over, I got to thinking about some of the people who wander in here with real problems to solve. We usually advise them to use strict, use CGI, and reuse some set of modules from CPAN.
Damn straight!

This website is about learning perl, and while re-inventing wheels is fun and part of learning perl, why would you want to re-invent a wheel when you don't know how to use an existing one.

Why would you want to help some poor sap DEBUG broken CGI parsing code?

When is the last time you heard someone say "Help, I need to write a Win32 GUI program, but I can't use MFC of any other pre-written libraries for building GUI's, please help, this is a real world problem!!!!!!!!"

When is the last time you heard someone say "Help, I need to write an assembler program to draw a nice GUI but I can't use any pre-written libraries. Please help this is a real world problem!!!!!"?

Every time I hear "can't use this/or/that module", I think to myself, "well, then go elsewhere for help".

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Simplicity vs. Doing It Right
by dws (Chancellor) on Oct 13, 2002 at 07:03 UTC
    Why would you want to re-invent a wheel when you don't know how to use an existing one.

    Because you have a problem to solve now, and the learning curve for the wheel is steep. Knowing about the wheel may be good enough. You can come back to it at your leisure later, and you'll have the benefit of having solved the problem the wheel purports to solve, so that you'll better appreciate it.

    Or perhaps the wheel requires an axle, and the axle requires a transmission, and before long you've picked up half a car along with the wheel, and your CGI now takes 5 seconds to start, and your ISP doesn't support mod_perl. You might still want to know about the wheel, but you also want to know about alternatives.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-18 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found