Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: When to use templates?

by tilly (Archbishop)
on Nov 19, 2004 at 19:38 UTC ( #409133=note: print w/replies, xml ) Need Help??

in reply to When to use templates?

Templating is a good solution, but you have to define your problem first. If you just use it and don't have a good sense of why they are good, then you'll "use" them but not in a way that solves any problem - and then they'll seem useless.

Re (tilly) 6: Code Critique tries to give an overview of why templating is good, what you need to do to make it succeed, and what you can hope for from it if it succeeds. Unfortunately it tends to be the case that you can hear all of the advice in the world but it won't "digest" properly until you've actually tried it in practice and you have some experience to put it into context. So the first time you try to use templating to clean up your code you probably won't realize the benefit that people talk about getting - but you will get the experience to be able to figure out what you could do differently to get a better benefit next time. (Which is still valuable. Plus you'll likely still get some benefit.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://409133]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-05-24 02:34 GMT
Find Nodes?
    Voting Booth?