Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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.)


Comment on Re: When to use templates?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-07-12 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls