Enrico, I'm a big fan of your book. So much, that I even dived deeper in the subject of Middleware you introduced in Chapter 11. One thing that I couldn't stop thinking about was the usage of dynamic in your definition. I was thinking about it over the last weekend and I think I created an interesting, alternative approach which is fully type-safe.
I described the whole story in my blog.
http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-1.html
http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-2.html
I would love to hear your opinion about it. Maybe you could even include it in the second edition of your book :)
Thanks,
Stan
Enrico, I'm a big fan of your book. So much, that I even dived deeper in the subject of Middleware you introduced in Chapter 11. One thing that I couldn't stop thinking about was the usage of
dynamicin your definition. I was thinking about it over the last weekend and I think I created an interesting, alternative approach which is fully type-safe.I described the whole story in my blog.
http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-1.html
http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-2.html
I would love to hear your opinion about it. Maybe you could even include it in the second edition of your book :)
Thanks,
Stan