Whoever decided to release C# 1.0 without generics...
-
Like CG needs rep points!
Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
The more... the more.
There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.
-
... should be sentenced to spend their life fixing errors caused by downcasting from System.Object to concrete types when using non-generic collections.
-
Oh, I believe there were some in-the-know people who knew better. Look at the context: back then, Windows developers wanted something better than the C++/COM/VB6 mess. Remember? Java was looking so sexy. Microsoft countered with C#, which was exactly what we needed. It wasn't perfect -- missing generics and all -- but it was a better Java, and has only widened that gap since. Since Java didn't have generics back then, it wasn't on the radar for a lot of people. It's a shame, but hey, for version 1 of a product, MS did pretty darn well. By the way, I was at a tech talk the other week; the presenter, who's been writing C/C++ professionally for 30 years, was speaking on C++. He's never used templates.
Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
Judah HimangoJudah Himango wrote:
By the way, I was at a tech talk the other week; the presenter, who's been writing C/C++ professionally for 30 years, was speaking on C++. He's never used templates.
Can't blame him. C++ templates are a codethulu generator powerful enough rival C macros in scope. .net generics only took the safe and sane part of the total. Edit: To clarify I did use the STL a bit, but never wrote any of my own.
3x12=36 2x12=24 1x12=12 0x12=18
-
My number one reason that C# 1.0 was half baked. And, there's still people using those non generic containers.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
My number one reason that C# 1.0 was half baked. And, there's still people using those non generic containers.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Welcome back brother! Just in time for the Rapture!
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Alright - who are you and what have you done with the real Christian :suss:
Because I'm complaining about Microsoft ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hey CG! How the devil are you?
Panic, Chaos, Destruction. My work here is done. or "Drink. Get drunk. Fall over." - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
Tired - several late nights finishing versions before travelling some more....
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Welcome back brother! Just in time for the Rapture!
A guide to posting questions on CodeProject[^]
Dave KreskowiakExactly !!! Good thing I am in the US for it. Imagine if I was down under, I bet they don't get raptured...
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Exactly !!! Good thing I am in the US for it. Imagine if I was down under, I bet they don't get raptured...
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Yeah, I'm sitting on a plane in Boston right now waiting to go home. No rapture on this thing.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Generics are for academics only, much too complicated for normal programmers. And casts work just fine, right? That was the view of the C# and CLR teams. Generics weren't "left out" of .NET 1.0; they weren't planned for. And they almost didn't make it into .NET 2.0. Apparently, generics had low priority compared with features like being able to run the CLR inside SQL Server... See here for background info: .NET/C# Generics History (Don Syme's blog)[^]
I've been interviewing candidates a fair bit recently, and unfortunately, a lot of people still seem to have trouble *writing* generic classes and methods.
Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro
-
Exactly !!! Good thing I am in the US for it. Imagine if I was down under, I bet they don't get raptured...
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
I think they get raptured backwards in the southern hemisphere.
Curvature of the Mind now with 3D
-
I think they get raptured backwards in the southern hemisphere.
Curvature of the Mind now with 3D
No rapture here in Aus, but a good excuse to get pissed as farts. We had a Pre-Rapture party Friday, a Jesus' Second Housewarming party on Saturday (he never rocked up, rude prick) and then a Life Goes On party on Sunday... Now I'm back at work with bloodshot eyes and a headache that makes me wish the world had ended...
Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
-
My number one reason that C# 1.0 was half baked. And, there's still people using those non generic containers.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.