Types and Programming Languages Part 2 — Exception while handling exception

This is the second part of the Types and Programming Languages series. For your convenience you can find other parts in the table of contents in Part 1 — Do not return in finally Last time we saw what happens when we return in finally and that we shouldn’t do it. Today we explore a … Continue reading Types and Programming Languages Part 2 — Exception while handling exception

Types and Programming Languages Part 1 — Do not return in finally

This is the first part of the Types and Programming Languages series. For your convenience you can find other parts using the links below: Part 1 — Do not return in finally Part 2 — Exception while handling exception Many languages provide exception handling construct, typically in a form of try and catch blocks. While … Continue reading Types and Programming Languages Part 1 — Do not return in finally