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.
  • 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
                    • L Luc Pattyn

                      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 Offline
                      D Offline
                      dawmail333
                      wrote on last edited by
                      #24

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

                      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