Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: "Rites of Passage" wheel reinventing

by samtregar (Abbot)
on Feb 27, 2004 at 04:43 UTC ( #332185=note: print w/replies, xml ) Need Help??


in reply to "Rites of Passage" wheel reinventing

1. Several lightweight templating packages, instead of using HTML::Template or TT (though I use HTML::Template a lot now)

Funny you should mention it, HTML::Template is first on my list!

One you didn't mention, though, is an OO wrapper for DBI. I'm sure we've all got one of those rotting away in the attic. The day I realized SQL wasn't that bad was a good day indeed...

-sam

  • Comment on Re: "Rites of Passage" wheel reinventing

Replies are listed 'Best First'.
Re: Re: "Rites of Passage" wheel reinventing
by geohar (Acolyte) on Feb 27, 2004 at 11:40 UTC
    There's two ways to look at this:

    1. it's a mistake to reinvent the wheel if a good implementation matches your needs. If it's nearly there, consider adapting it, but don't reinvent.

    This approach applies well to those focussed on getting the job done, to the end product. The proffessional job. Sometimes that's the right way to look at things. It's probably the fairest if someone is paying you to do the work (after all starting from scratch will probably take longer).

    2. By all means reinvent the wheel. Then you'll see why I did it that way first. You'll make the same mistakes, probably abandon your project and then use my/someone elses existing one.

    This approach might actually be the correct one if your main concern is process and understanding. The journey, but not necessarily arriving. Why? Because sometimes when it's not a job it's the learning thats important. In these circumstances, making the mistakes informs you of why other implementations did it that way in the first place. Then you can start afresh understanding more deeply an existing implementations (in terms of both it's strengths and weeknesses). You make an informed decision.

    I must have programmed several hacked-up parsers (even after having completed my CS courses on parsers and compilers) before really understanding why the seemingly theoretical approach of my courses could be valuable. Now I know - a hacked together parser is probably not maintainable.

    I personally think that a rounded programmer should practice both of these approaches. Probably the wasteful one in his/her spare time, but nontheless blindly applying approach 1. doesn't necessarily deepen your knowledge - which I personally value highly.

    How's that for a bit of meditative thinking?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://332185]
help
Chatterbox?
[Corion]: ... that's not that great for quasi-disposable devices ;)
[Eily]: can't you just remote connect to the linux machine ?
[marto]: IIRC the hiemdal suite made life much easier on windows, and people on XDA developers put out released of windows only pages for adb that made it less of a pain
[marto]: Eily you can't remote connect the physical device via USB ;)
[Corion]: Eily: Sure, that's what I do, but some things you need to do on the Android device directly, like when navigating the bootloader :-)
[Eily]: marto you just need a longer cable :P
[Corion]: marto: Yeah, but I'm somewhat wary of installing random USB drivers downloaded from mega.nz , Google Drive or whatever, so Linux wins there due to there being no conflicts and me just having to edit one text file in the worst case, to add the USB vendor
[hippo]: Long USB cable FTW.
[Corion]: Eily: I've thought of that, but I don't like running long cables through the appartment because sooner or later I'll trip over it, pulling at least one device off its stand :)
[marto]: hmm, may have to patch CPAN::Meta to move from search.cpan to metacpan in the META.json/yml files

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2018-05-23 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?