This will be a live coding demonstration of Scala's newest feature set: capture checking.
We will see what capture checking is, how it works, all with realistic demonstrations of how we would use it in practice, with resources that would have significant consequences if mismanaged; we will see how (and where) capture checking significantly simplifies the code and frees our mental space to focus on the critical parts of our applications.
By the end of this talk, you will get a practical understanding of capture checking, with insights of where you should use it and how you can leverage Scala's strengths where it matters.
Do you like it when compiler generates the boring code for you? Fast, mundane, boring-but-error-prone code? Do you need to implement such a code generator yourself? Have you found out that Shapeless/Mirrors bend your brain a bit too much?