Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Well it is also advice that might be bad.
"Doc, it hurts when I do this." "Don't do that."
That one I usually agree on, but there are lots of times when you have to. Consider the patient coming into the doctor saying "It hurts when I breathe." That happens in engineering too. :)
If it ain't broke, don't fix it.
This is considered by many to be really bad advice, in software specifically we could mention all the XP and refactoring guys - they strongly advocate fixing unbroken code constantly. It is called "improving the codebase by constant refactoring", and yes, it is really fixing, and it is often of perfectly working code. In all areas, including software, the mentality of not fixing "whole" things might lead to stagnation, and hinders evolution of better products. In my opinion, better say.
Don't reinvent the wheel.
Same here. Even the wheel might work even better, and sometimes the best way to make the wheel roll smoothly is to start over with nothing, just thinking... I wonder what the best way to transport a box forward would be?

Don't get me wrong. All of those advices are valid up to a point, and it will always depend on the situation. But I think it is plain wrong to just take them for given, and not even considering questioning if those advices are really the best for any given situation.

There might be a lot of benefits to ignore the old sayings when programming. :) Then again, there will be situations where those advices really are the best... consider the patient coming to the doctor saying "It hurts when I hit my head with this hammer." or when all you need is to fix the flat tire on your bike.

I would have killed for a don't reinvent the wheel back at my first Perl gig when I decided to write a half assed template toolkit.
I've done that and tons of other "stupid" stuff as well, and no matter how little, at least I learned something from it. I now know lots of stuff, useful or not, that I would have no idea about otherwise, and that might very well come in handy in one situation or the other. I think you can get a lot more punch out of any given module, snippet or wheel if you also have a basic understanding on what it does and why.

Then again, I might be plain delusional. :) It is very late here after all, and as always, YKMV.


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Re: Re: Re-inventing the wheel is a 'Good Thing' by Dog and Pony
in thread Re-inventing the wheel is a 'Good Thing' by Felonious

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 perusing the Monastery: (5)
As of 2024-04-25 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found