For baking sweets, metal is better! Metal pans distribute the heat more efficiently, resulting in evenly baked and brown sweets.  Glass pans bake more quickly. If you need to substitute a glass pan for a metal one, you will need to decrease the oven temperature by about 20 - 25 degrees to ensure that your baked good does not overbake or burn.