This is the third 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 Let’s take the following code: Let’s say there is no catch block anywhere on this thread. What’s going to happen? That … Continue reading Types and Programming Languages Part 3 — Finally during termination
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 Part 3 — Finally during termination Many languages provide exception handling construct, typically in a form … Continue reading Types and Programming Languages Part 1 — Do not return in finally
.NET Inside Out Part 25 – Using is broken revisited
This is the twentieth fifth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# Some time ago we saw how the using construct is broken in C#. I provided some hacks around that but … Continue reading .NET Inside Out Part 25 – Using is broken revisited
Async Wandering Part 11 — Wrapping fibers in context
This is the eleventh part of the Async Wandering series. For your convenience you can find other parts in the table of contents in Part 1 – Why creating Form from WinForms in unit tests breaks async? We continue exploring async code. Last time we saw how to use fibers to wait tasks. This effectively … Continue reading Async Wandering Part 11 — Wrapping fibers in context