Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I tend to go down the line of "re-inventing" as well - the last one I did was to build an email module from scratch (basically my own version of Mail::Sender or similar) using Net::Telnet.

Okay.. so it was a pointless exercise in a way (I could have done it a lot easier using Net::SMTP [which I'm now doing to optimise it and learn a little more about Net::SMTP along the way!) but I fancied learning a bit about Net::Telnet and it was a simple solution as I already had something to compare my finished module to.

It may have been reinventing the wheel for sure, but sometimes it's good to get down to first principals (or close) so that you end up with a good understanding of why something works as well as simply how to do something - I feel that makes a distinction between being a good programmer and being a plain code-monkey.

It's a little pointless doing something just because you copied the code out of some book or blindly using a module without really knowing why it works. I'm not saying everyone should build everything from scratch everytime you sit down to program - there would be no sense in that - but when it comes to learning something new, well, it just makes more sense to actually understand it as opposed to simply learing a modules' method/sub list parrot fashion. (Also makes it easier to fix bugs in the future when you can understand why something is going wrong!).

Just MHO anyhow.... now to wait for the next project inspiration ;-)

In reply to Re: Where the inspiration comes from ? by gothic_mallard
in thread Where the inspiration comes from ? by shadox

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found