Agree or disagree? [modified]
-
LINQ is the best thing to happen to .Net [added][added][/added]since .Net 2.0[added][/added][/added] (barring its development :laugh: ) I personally think so, it makes so many things so much nicer, even before we get to LINQ-to-SQL, for example. [added] Added appropriate tags for Luc Pattyn ;P [/added]
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
modified on Friday, January 14, 2011 7:57 AM
I would have to agree with Ravisant: Generics are much, much better than LINQ. Think about it: Generics allow errors to be caught at compile time, rather than run time. They enforce good practices by making us specify which types we can use with a class instance. They improve re-use by making a generic class usable with any class type without re-coding. etc., etc.. Which one would I miss the most if it was taken away? Generics, by a mile.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.
Oh yes. Gets my 5.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
True, wouldn't see List(Of T) without it... Still, what about the post .Net 2.0 scene?
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.
that was in 2.0, so it doesn't fit the "to happen to .Net since .Net 2.0 " qualification. but yes, it is by far the best thing added to .NET ever. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
LINQ is the best thing to happen to .Net [added][added][/added]since .Net 2.0[added][/added][/added] (barring its development :laugh: ) I personally think so, it makes so many things so much nicer, even before we get to LINQ-to-SQL, for example. [added] Added appropriate tags for Luc Pattyn ;P [/added]
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
modified on Friday, January 14, 2011 7:57 AM
Anonymous delegates along with generics. Expressions are cool too (they and anonymous delegates make LINQ work).
-
My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.
Yes, like adding a handle to a pan.
SYSTEMTIME to time_t
| FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy -
Anonymous delegates along with generics. Expressions are cool too (they and anonymous delegates make LINQ work).
Ooh, I forgot the expressions weren't there all along. I do use LINQ more though. Generics are a .Net 2.0 feature, no?
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
I would have to agree with Ravisant: Generics are much, much better than LINQ. Think about it: Generics allow errors to be caught at compile time, rather than run time. They enforce good practices by making us specify which types we can use with a class instance. They improve re-use by making a generic class usable with any class type without re-coding. etc., etc.. Which one would I miss the most if it was taken away? Generics, by a mile.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
And yet they are a .Net 2.0 feature. ;)
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
that was in 2.0, so it doesn't fit the "to happen to .Net since .Net 2.0 " qualification. but yes, it is by far the best thing added to .NET ever. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
(I modified my post after :P ) I don't count < 2.0 as REAL .Net :laugh:
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
(I modified my post after :P ) I don't count < 2.0 as REAL .Net :laugh:
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
you should have done it in a way that does not cause such confusion then. the strike-through widget is often useful when editing. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
you should have done it in a way that does not cause such confusion then. the strike-through widget is often useful when editing. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
It was an addendum ;P
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
-
LINQ is the best thing to happen to .Net [added][added][/added]since .Net 2.0[added][/added][/added] (barring its development :laugh: ) I personally think so, it makes so many things so much nicer, even before we get to LINQ-to-SQL, for example. [added] Added appropriate tags for Luc Pattyn ;P [/added]
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
modified on Friday, January 14, 2011 7:57 AM
At first I didn't care for it but the more I use it the more I come to appreciate it. As far as being the best thing since sliced bread...No.
I like long walks, especially when they are taken by people who annoy me. http://www.hq4thmarinescomm.com[^]
My Site -
It was an addendum ;P
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
then you put the new text in between [ADDED] and [/ADDED] marks. :mad:
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
LINQ is the best thing to happen to .Net [added][added][/added]since .Net 2.0[added][/added][/added] (barring its development :laugh: ) I personally think so, it makes so many things so much nicer, even before we get to LINQ-to-SQL, for example. [added] Added appropriate tags for Luc Pattyn ;P [/added]
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."
modified on Friday, January 14, 2011 7:57 AM
Well, considering generics were around before, as e.g. templates in C++ (I think generics are much better though), I would say LINQ, pure LINQ, without databases, is indeed the best thing to happen to .NET, before having any experience with the DLR. While generics may provide more theoretical value, LINQ has done much more for me to make coding life easier and more reliable, I mean less reliant on my own routines.
-
then you put the new text in between [ADDED] and [/ADDED] marks. :mad:
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
Fixed :laugh:
Don't forget to rate my post if it helped! ;) "He has no enemies, but is intensely disliked by his friends." "His mother should have thrown him away, and kept the stork." "There's nothing wrong with you that reincarnation won't cure." "He loves nature, in spite of what it did to him."