I wanted to make a video on the IDisposable pattern because I often see it not implemented correctly and even myself forget to do it correctly sometimes. Honestly, when making these videos makes me hold myself to a higher standard each time I make one because I’m like “There is video evidence that I know better, I need to do this right!” I hope you guys enjoy and maybe learn something and if you have anything to add I would love to hear, because if there’s one thing I know about programming it’s that I will never know it all!

Not to criticize your video, but in my experience through quite some years, the disposable pattern (it’s not called idisposable pattern I think) is very rarely needed. In part because subclassing isn’t common and in part because unmanaged resources aren’t common and in part because finalizers are very uncommon, since unmanaged resources can mostly be wrapped in safe handles.

So it’s just kind of a hassle, and I almost never bother with implementing it myself, or at work. It’s a slightly different story for library authors.
Thanks for ur videos, I also seen couple of them and especially liked vid about complexity reduction, keep it up. btw what editor are you using? it looks really weird for me :D(as a visual studio user)

Thanks! It’s neovim/vim which I personally love but will admit it’s maybe not for everyone. I hope it doesn’t cause any confusion when I’m trying to explain things!

I also use visual studio quite a bit at work but at home I don’t run any windows machines so no visual studio. I like VSCode as well but vim is pretty amazing once you get used to it.

Probably too much to learn vim while also learning programming though, don’t want to fight both programming and the editor at once!

source