Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Agree or disagree? [modified]

Agree or disagree? [modified]

Scheduled Pinned Locked Moved The Lounge
csharpdatabaselinqtutorialquestion
24 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Pete OHanlon

    Disagree. It's nice, but it's not the best thing to happen to .NET in my opinion. My favourite would have to be between weak references and the garbage collector - both relatively unappreciated, but both very important.

    I'm not a stalker, I just know things. Oh by the way, you're out of milk.

    Forgive your enemies - it messes with their heads

    My blog | My articles | MoXAML PowerToys | Onyx

    D Offline
    D Offline
    dawmail333
    wrote on last edited by
    #4

    Let me rephrase, the best thing from .Net 2.0 onwards.

    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."

    P 1 Reply Last reply
    0
    • D dawmail333

      Let me rephrase, the best thing from .Net 2.0 onwards.

      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."

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #5

      Still think that weak references is better.

      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Onyx

      D 1 Reply Last reply
      0
      • R Ravi Sant

        My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #6

        Good point. How could I have overlooked that?

        I'm not a stalker, I just know things. Oh by the way, you're out of milk.

        Forgive your enemies - it messes with their heads

        My blog | My articles | MoXAML PowerToys | Onyx

        1 Reply Last reply
        0
        • R Ravi Sant

          My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.

          D Offline
          D Offline
          dawmail333
          wrote on last edited by
          #7

          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."

          R 1 Reply Last reply
          0
          • P Pete OHanlon

            Still think that weak references is better.

            I'm not a stalker, I just know things. Oh by the way, you're out of milk.

            Forgive your enemies - it messes with their heads

            My blog | My articles | MoXAML PowerToys | Onyx

            D Offline
            D Offline
            dawmail333
            wrote on last edited by
            #8

            Never heard about them! Any articles on here about them? There should be.

            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."

            P 1 Reply Last reply
            0
            • D dawmail333

              Never heard about them! Any articles on here about them? There should be.

              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."

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #9

              Well, there's this[^] one from me. Weak references are the reason that WPF and Silverlight don't need the Dispose method internally.

              I'm not a stalker, I just know things. Oh by the way, you're out of milk.

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Onyx

              1 Reply Last reply
              0
              • D dawmail333

                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

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #10

                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.

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                D 1 Reply Last reply
                0
                • R Ravi Sant

                  My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #11

                  Oh yes. Gets my 5.

                  Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  1 Reply Last reply
                  0
                  • D dawmail333

                    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."

                    R Offline
                    R Offline
                    Ravi Sant
                    wrote on last edited by
                    #12

                    hmm, not much attracting features. I have eyes on C#5.0 for some boon.

                    1 Reply Last reply
                    0
                    • R Ravi Sant

                      My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #13

                      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.

                      D 1 Reply Last reply
                      0
                      • D dawmail333

                        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

                        L Offline
                        L Offline
                        leppie
                        wrote on last edited by
                        #14

                        Anonymous delegates along with generics. Expressions are cool too (they and anonymous delegates make LINQ work).

                        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                        D 1 Reply Last reply
                        0
                        • R Ravi Sant

                          My favorite best thing that has happened to C#.Net is Generics language feature. I simply love it.

                          P Offline
                          P Offline
                          peterchen
                          wrote on last edited by
                          #15

                          Yes, like adding a handle to a pan.

                          SYSTEMTIME to time_t
                          | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

                          1 Reply Last reply
                          0
                          • L leppie

                            Anonymous delegates along with generics. Expressions are cool too (they and anonymous delegates make LINQ work).

                            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                            D Offline
                            D Offline
                            dawmail333
                            wrote on last edited by
                            #16

                            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."

                            1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              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.

                              D Offline
                              D Offline
                              dawmail333
                              wrote on last edited by
                              #17

                              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."

                              1 Reply Last reply
                              0
                              • L Luc Pattyn

                                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.

                                D Offline
                                D Offline
                                dawmail333
                                wrote on last edited by
                                #18

                                (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."

                                L 1 Reply Last reply
                                0
                                • D dawmail333

                                  (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."

                                  L Offline
                                  L Offline
                                  Luc Pattyn
                                  wrote on last edited by
                                  #19

                                  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.

                                  D 1 Reply Last reply
                                  0
                                  • L Luc Pattyn

                                    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.

                                    D Offline
                                    D Offline
                                    dawmail333
                                    wrote on last edited by
                                    #20

                                    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."

                                    L 1 Reply Last reply
                                    0
                                    • D dawmail333

                                      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

                                      Mike HankeyM Offline
                                      Mike HankeyM Offline
                                      Mike Hankey
                                      wrote on last edited by
                                      #21

                                      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

                                      1 Reply Last reply
                                      0
                                      • D dawmail333

                                        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."

                                        L Offline
                                        L Offline
                                        Luc Pattyn
                                        wrote on last edited by
                                        #22

                                        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.

                                        D 1 Reply Last reply
                                        0
                                        • D dawmail333

                                          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

                                          B Offline
                                          B Offline
                                          Brady Kelly
                                          wrote on last edited by
                                          #23

                                          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.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups