Can you put hot sugar in a glass pan?

It's not a good idea to put hot sugar directly into a glass pan. Here's why:

* Thermal Shock: Glass is more susceptible to thermal shock than other materials. This means rapid changes in temperature can cause it to crack or shatter. Hot sugar would create a significant temperature difference between the sugar and the glass, potentially causing damage.

* Sticking: Even if the glass doesn't crack, the sugar is likely to stick to the surface, making it difficult to clean.

What to do instead:

* Use a heat-resistant pan: Metal pans, especially those made from stainless steel or cast iron, are much more resistant to thermal shock.

* Grease the pan: Greasing the pan with butter, oil, or cooking spray can help prevent sticking.

* Let the sugar cool slightly: Allow the sugar to cool down a bit before pouring it into the pan.

If you must use a glass pan:

* Preheat the pan: Gently warm the glass pan in the oven or with hot water before adding the hot sugar. This helps to minimize the temperature difference.

* Use a silicone mat: Place a silicone mat in the bottom of the pan to create a barrier between the sugar and the glass.

Always use caution when working with hot sugar and glass.