Pages

Selasa, 10 Agustus 2010

Everybody thinks about CLR objects the wrong way (well not everybody)

Many people responded to Everybody thinks about garbage collection the wrong way by proposing variations on auto-disposal based on scope:"Any local variable that is IDisposable should dispose itself when it goes out of scope." "You should be able to attach an attribute to a class that says the destructor should be called immediately after leaving scope.""It should have promised to call finalizers

Tidak ada komentar:

Posting Komentar