Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What's wrong with re-inventing wheels

by perrin (Chancellor)
on Jul 10, 2006 at 22:10 UTC ( [id://560260]=note: print w/replies, xml ) Need Help??


in reply to What's wrong with re-inventing wheels

Usually, people say they are writing a new one because it's faster or easier or does something that the old one doesn't. Usually, they are also flat-out wrong about these assertions, and would have known it if they had spent a little more time looking at the existing solutions.

It doesn't harm me if someone who I don't work with writes their own templating system. But what if they put it on CPAN and add to the pile of half-baked unmaintained solutions that swamp anyone searching for a templating system there? What if I have to work on some of their code someday, and it uses this monstrosity?

And the more subtle issue is, how much better might TT be if people tried to improve it instead of writing their own half-assed version that gets tossed out in a year?

There are real reasons why re-inventing the wheel is usually wrong. Ask anyone who had to support someone else's bespoke templating system at their company. It's not just a knee-jerk reaction.

  • Comment on Re: What's wrong with re-inventing wheels

Replies are listed 'Best First'.
Re^2: What's wrong with re-inventing wheels
by DrHyde (Prior) on Jul 12, 2006 at 09:39 UTC
    It would have been harder for me to make the necessary improvements to TT than it was to write my own. So I did. And my solution was better, in that it did everything I needed it to (just like TT would have) in a zillionth of the time and memory.

    These days I use TT because I have a faster server and so no longer have to care so much about speed and size. This is one reason why lots of people now use Java when they would have previously used C. It is trading elegance for convenience, and I don't like it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found