3 ms·
I spent the past couple of months working with C#, and I like its approach to deterministic resource handling in a GC language. I think it is very similar to wh
by krylon 8y ago
I spent the past couple of months working with C#, and I like its approach to deterministic resource handling in a GC language. I think it is very similar to what Python does. Basically, one implements an Interface (IDisposable) and there is little syntactic sugar in the form of the using-statement.
This quickly becomes second nature and is a very intuitive way to handle, for example, database transactions.