in reply to Re: A quick and dirty template system
in thread A quick and dirty template system
I don't think there is any substitute for learning by doing. Studying the derivation of Fermi's Golden Rule #2* is, speaking from direct experience, far less enlightening than closing the book and deriving it starting from a blank sheet of paper.And part of learning is studying prior art, which is apparently lacking in practically all of the "templating systems" I've seen.
Listen, I really wouldn't mind someone saying "I've studied Template, and Text::Template and HTML::Template and Text::MetaText and the PerlFAQ entries and ..., and now I want to write my own, because this feature is lacking and that feature is broken". But nobody has ever done that that posts "here's my templating system, and it's simple for now, but I'm adding $FEATURE_X later". They just go off and start implementing. You think Perl would have been where it is had Larry not carefully studied Awk and Sed and other tools before he started?
This is why I grumble about reinvention, and templating systems in particular. Do not attempt to reinvent the wheel without studying the fallacies of those who have gone ahead, or else you are wasting human potential in a larger sense. This isn't just about you. It's about humanity.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: A quick and dirty template system
by Vynce (Friar) on Sep 20, 2001 at 00:43 UTC | |
|
Re: Re: Re: A quick and dirty template system
by scott (Chaplain) on Sep 20, 2001 at 03:05 UTC |