Skip to content

Why finally exists

Cleanup code is placed after a try/catch block rather than in a finally.

When does that differ?