Click here to Skip to main content
15,918,808 members

Survey Results

Are you working with .NET?   [Edit]

Survey period: 21 Jun 2004 to 27 Jun 2004

It's been out for a while now, but are you using it?

OptionVotes% 
Yes98462.16
No, but we are planning to.21313.46
No38624.38



 
GeneralRe: Switch to .net? Pin
Miguel Lopes23-Jun-04 2:59
Miguel Lopes23-Jun-04 2:59 
GeneralRe: Switch to .net? Pin
Miguel Hasse de Oliveira22-Jun-04 14:04
professionalMiguel Hasse de Oliveira22-Jun-04 14:04 
GeneralRe: Switch to .net? Pin
Ian Darling25-Jun-04 13:46
Ian Darling25-Jun-04 13:46 
GeneralRe: Switch to .net? Pin
Miguel Hasse de Oliveira26-Jun-04 7:29
professionalMiguel Hasse de Oliveira26-Jun-04 7:29 
GeneralRe: Switch to .net? Pin
Ian Darling26-Jun-04 7:36
Ian Darling26-Jun-04 7:36 
GeneralRe: Switch to .net? Pin
kezhu22-Jun-04 20:48
kezhu22-Jun-04 20:48 
GeneralRe: Switch to .net? Pin
Nemanja Trifunovic23-Jun-04 3:12
Nemanja Trifunovic23-Jun-04 3:12 
GeneralRe: Switch to .net? Pin
Lonnie McCullough22-Jun-04 19:15
Lonnie McCullough22-Jun-04 19:15 
I think the real problem with using is that it is only truly helpful in situations where object lifetime is extremely simple. This method of resource cleanup falls apart when a resource is used more than once ( i.e. we maintain a reference to this resource for later use ). The object that holds a reference to an IDisposable can itself implement IDisposable but this also assumes that this object has simple lifetime patterns. And what about resources whose lifetimes don't match those of their owner? What about collections? Do they know anything about IDisposable? Do I need to keep track of everything I throw into a collection and never reference again? How would I even know when to reclaim those resources that are just sitting around, cached, waiting to be used again? I know there are ways around these problems but all of those solutions highlight the inherent disconnect between the purely managed world ( where the CLR manages everything for us ) and the world where I have to keep track of the lifetimes of my objects in very detailed ways. Coming from the C++ world where this is all explicit makes the problem here seem like a flaw of architecture, but I think that the real problem is that C++ programmers are lazy ( I'm not excluding myself from this ). Scoped resource reclamation is no longer possible and we have to actually think about disposing of our resources instead of allowing the compiler to handle it for us. It took me a while to figure out why I am a little uneasy with .Net, but it turns out that it has everything to do with managing details I've never had to manage before. I know that I had to call delete or free or RegCloseKey before but that was all right because the entire language is structured that way and its fairly easy to see where you are not releasing resources, but in the CLR, where the world is very dynamic and where I never have to think about reclamation, IDisposable and using look like hacks elevated to the level of infrastructure. Well, maybe its not quite that bad Wink | ;-)

-Lonnie

GeneralRe: Large Financial System Pin
Michael Dunn24-Jun-04 20:05
sitebuilderMichael Dunn24-Jun-04 20:05 
GeneralOf course Pin
Uroš Šmon21-Jun-04 19:46
professionalUroš Šmon21-Jun-04 19:46 
GeneralRe: Of course Pin
NormDroid21-Jun-04 20:49
professionalNormDroid21-Jun-04 20:49 
Generalhell NO! Pin
Bob Stanneveld21-Jun-04 12:36
Bob Stanneveld21-Jun-04 12:36 
GeneralRe: hell NO! Pin
Aaron Eldreth21-Jun-04 13:40
Aaron Eldreth21-Jun-04 13:40 
GeneralRe: hell NO! Pin
Bob Stanneveld22-Jun-04 1:33
Bob Stanneveld22-Jun-04 1:33 
GeneralRe: hell NO! Pin
Bob Aman22-Jun-04 4:58
Bob Aman22-Jun-04 4:58 
GeneralRe: hell NO! Pin
Nitron22-Jun-04 2:33
Nitron22-Jun-04 2:33 
GeneralRe: hell NO! Pin
Bob Stanneveld22-Jun-04 6:54
Bob Stanneveld22-Jun-04 6:54 
GeneralRe: hell NO! Pin
Daniel Turini22-Jun-04 11:56
Daniel Turini22-Jun-04 11:56 
GeneralRe: hell NO! Pin
Russell Morris22-Jun-04 12:12
Russell Morris22-Jun-04 12:12 
GeneralRe: hell NO! Pin
Bob Stanneveld22-Jun-04 12:15
Bob Stanneveld22-Jun-04 12:15 
GeneralRe: hell NO! Pin
Name Removed22-Jun-04 4:49
Name Removed22-Jun-04 4:49 
GeneralRe: hell NO! Pin
Bob Stanneveld22-Jun-04 7:07
Bob Stanneveld22-Jun-04 7:07 
GeneralRe: hell NO! Pin
Slash7422-Jun-04 8:29
Slash7422-Jun-04 8:29 
GeneralRe: hell NO! Pin
Ellery_Familia22-Jun-04 9:39
Ellery_Familia22-Jun-04 9:39 
GeneralRe: hell NO! Pin
Bob Stanneveld22-Jun-04 10:14
Bob Stanneveld22-Jun-04 10:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.