# Ways to Reuse Code

ColdFusion provides several different ways to reuse code. If you are using ColdFusion Studio, you can write code snippets, which you can copy into templates. For more information on writing code snippets, see Using ColdFusion Studio. You can include a template within another template with the CFINCLUDE tag. In addition, you can create custom tags in CFML. Unlike included templates, these custom tags act as other tags do, allowing you to pass parameters to them. Included templates, on the other hand, behave just as though you typed the included code directly into the calling page.