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. Evolution of C#

Evolution of C#

Scheduled Pinned Locked Moved The Lounge
csharpjavaphpcomquestion
37 Posts 22 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 Rohde

    I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


    "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
    -Atlas Shrugged, Ayn Rand

    R Offline
    R Offline
    Roger Alsing 0
    wrote on last edited by
    #10

    I love the bloat keywords.. eg, "foreach" instead of (for (int i........) object a = array[i]... enums instead of some classes that contain public fields etc. Its not like it is a problem for a human mind to keep track of a handful of keywords..

    1 Reply Last reply
    0
    • R Rohde

      I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


      "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
      -Atlas Shrugged, Ayn Rand

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #11

      Rohde wrote:

      slowly C# shows signs of some feature bloat

      IMO, they should have stopped with generics. All this lambda, Linq, var stuff feels like someone's trying to sell me shoes designed originally for aliens that we've never even confirmed exist. Marc

      Thyme In The Country
      Interacx
      My Blog

      P C 2 Replies Last reply
      0
      • R Rohde

        I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


        "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
        -Atlas Shrugged, Ayn Rand

        M Offline
        M Offline
        Matthew Faithfull
        wrote on last edited by
        #12

        The fundamental problem with C# all along has been that its design is driven by Microsoft's accountants and marketing people rather than the technical guys. I read an early draft of the language and framework spec well before .NET 1 and C# made an appearance when it was purely a technical project and I was delighted. Loads of good ideas and no fluff. Unfortunately there's a whole lot more in the final product and it's worth a whole lot less. I'll stick with C++ thanks :)

        Nothing is exactly what it seems but everything with seems can be unpicked.

        1 Reply Last reply
        0
        • R Rohde

          I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


          "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
          -Atlas Shrugged, Ayn Rand

          T Offline
          T Offline
          to_be_defined
          wrote on last edited by
          #13

          After all these years, Microsoft has decided to accept my demands to improve C#. Now I can declare all my methods in the .h file and define them in the .cs! Looking forward to my other requests: preprocessor macros and inline x86 ASM. :suss:

          H S 2 Replies Last reply
          0
          • R Rohde

            I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


            "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
            -Atlas Shrugged, Ayn Rand

            C Offline
            C Offline
            Chris Losinger
            wrote on last edited by
            #14

            Rohde wrote:

            C# shows signs of some feature bloat

            of course it does. don't forget, C# at least partly is a product.

            image processing toolkits | batch image processing

            R 1 Reply Last reply
            0
            • M Marc Clifton

              Rohde wrote:

              slowly C# shows signs of some feature bloat

              IMO, they should have stopped with generics. All this lambda, Linq, var stuff feels like someone's trying to sell me shoes designed originally for aliens that we've never even confirmed exist. Marc

              Thyme In The Country
              Interacx
              My Blog

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

              Old fart that I am, I've decided to stop at the .NET2 syntax. I'm comfortable with it, and I don't see any need to rush towards things like MixIns or Linq.

              Deja View - the feeling that you've seen this post before.

              S M 2 Replies Last reply
              0
              • R Rohde

                I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


                "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                -Atlas Shrugged, Ayn Rand

                S Offline
                S Offline
                SimonS
                wrote on last edited by
                #16

                I agree that C# should be kept as simple as it is in version 2. Rather have the ability to reference a plugin/DLL that would extend VS and .NET to include new features like LINQ, etc... Keep the language clean!

                Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF

                S 1 Reply Last reply
                0
                • R Rohde

                  I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


                  "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                  -Atlas Shrugged, Ayn Rand

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #17

                  I stopped using C# for my astronomy software project because it is so slow, it takes up huge amounts of runtime memory, and most people do not want to spend 30 minutes downloading and installing windows updates just to run a program.

                  H S 2 Replies Last reply
                  0
                  • C Chris Losinger

                    Rohde wrote:

                    C# shows signs of some feature bloat

                    of course it does. don't forget, C# at least partly is a product.

                    image processing toolkits | batch image processing

                    R Offline
                    R Offline
                    Rohde
                    wrote on last edited by
                    #18

                    Oh, I'm aware of that. I guess that's one thing C++ has going for it (although in that case we've got entirely different issues - like the absurd long time it takes for the standard body to push out C++4000 - or what it'll be :) - oh well we can't have it both ways :) Maybe it's time to take up COBOL and be and old grumpy mainframe programmer at a bank, swearing at all the young kids with their fancy OOP, Lambda, LING, etc. :) ).


                    "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                    -Atlas Shrugged, Ayn Rand

                    1 Reply Last reply
                    0
                    • T to_be_defined

                      After all these years, Microsoft has decided to accept my demands to improve C#. Now I can declare all my methods in the .h file and define them in the .cs! Looking forward to my other requests: preprocessor macros and inline x86 ASM. :suss:

                      H Offline
                      H Offline
                      Hamed Musavi
                      wrote on last edited by
                      #19

                      to_be_defined wrote:

                      Now I can declare all my methods in the .h file and define them in the .cs

                      You could do this in c++ since the language existed! Interesting to see what makes c# guys happy.;P

                      // "Life is very short and is very fragile also." Yanni
                      while (I'm_alive)
                      {
                      cout<<"I love programming.";
                      }

                      1 Reply Last reply
                      0
                      • R Rohde

                        I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


                        "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                        -Atlas Shrugged, Ayn Rand

                        R Offline
                        R Offline
                        Rocky Moore
                        wrote on last edited by
                        #20

                        Well, I kicked a bit when nullable types came in as that just did not seem proper use of the "?" symbol. Generics had their place and made life a bit easier as did many other improvements to the language. Now we have LINQ built in with Lambda expressions, annonymous types and partial classes. When they first hit, I thought, "boy, they are sure bloating all this up, I am happy with the current C# implementation".. Well, after working with the enhancements, I cannot go back. They just keep improving and making my life much easier in the process once after I got use to the new additions. At times I might think that it would be best if they slowed down a bit, but the increase in productivity keeps me wanting more. I doubt their current level of additions will last too much longer. They are really making C# a wonderful language to work with and saving me a lot of code in the process. No complaints here!

                        Rocky <>< Blog Post: Windows Live Authentication - Easy Stuff! Tech Blog Post: Vista ReadyBoost! Tech Sites: SilverlightCity.com ~ TheSilverlightDirectory.com ~ TheWPFDirectory.com

                        1 Reply Last reply
                        0
                        • L Lost User

                          I stopped using C# for my astronomy software project because it is so slow, it takes up huge amounts of runtime memory, and most people do not want to spend 30 minutes downloading and installing windows updates just to run a program.

                          H Offline
                          H Offline
                          Hamed Musavi
                          wrote on last edited by
                          #21

                          Exactly! I thought about rewriting one of my small projects with c#, so I had to create a new installer and guess what should be considered(as much as I remember): Service pack2 for XP, Installer 3.x, MDAC 8.x, .net framework 2, .Net framework 3, etc. Just imagine a user waiting for all these softwares to be installed before my small application installs! I totally dismissed updating:-D

                          // "Life is very short and is very fragile also." Yanni
                          while (I'm_alive)
                          {
                          cout<<"I love programming.";
                          }

                          S 1 Reply Last reply
                          0
                          • R Rohde

                            I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


                            "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                            -Atlas Shrugged, Ayn Rand

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #22

                            All actively used languages evolve, just as all active programs evolve. Be honest, has there ever been a language where you weren't writing a program one afternoon and thought to yourself, "wouldn't it be nice if...." Perhaps the thought ended there, perhaps it didn't. But that happens to many programmers, and even the writers of these programs. "What if" is the most powerful, and most dangerous statement we all make. It makes Vista out of XP, it makes XP out of ME and 2000, it makes C# from VB&C++&Java, but it also evolves the specifics of any system, it makes Java 5 from Java, it makes OpenGL 3 from OpenGL 2, and OpenGL 2 from OpenGL 1. "What if" means your software you know and love will change, the stuff you write will change, everything you use will change. "What if" is both salvation and damnation to the programming body at large. :) "What if" can move mountains. -- modified at 13:31 Friday 7th September, 2007

                            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                            H J 2 Replies Last reply
                            0
                            • R Rohde

                              I read this very interesting post on C# (partial methods for partial developers[^]) which got me thinking that slowly C# shows signs of some feature bloat - kind of what happened with Java 5. What do you think? Would you like as much "sugar" as possible in you coding coffe? Or, are you more happy with a clean and simple language, like C# is now, but may not be in future revision (Algol 68 anybody?)?


                              "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                              -Atlas Shrugged, Ayn Rand

                              S Offline
                              S Offline
                              Scott Dorman
                              wrote on last edited by
                              #23

                              I think the C# team is choosing language features carefuly, especially when compared to other .NET languages like VB. I agree that partial methods aren't a "general use" concept and are aimed more at code generation tools rather than people, but I think that they will be an important addition for helping keep the generated code cleaner.

                              Scott.


                              —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                              1 Reply Last reply
                              0
                              • P Pete OHanlon

                                Old fart that I am, I've decided to stop at the .NET2 syntax. I'm comfortable with it, and I don't see any need to rush towards things like MixIns or Linq.

                                Deja View - the feeling that you've seen this post before.

                                S Offline
                                S Offline
                                Scott Dorman
                                wrote on last edited by
                                #24

                                I'm still on the fence with Linq, but MixIns (extension methods) can actually be very useful when done properly. They can add a level of semantic "completeness" to a type, by providing the same helper/utility methods that we always write in a more natural way of accessing them...as methods on the type itself. Since you write an extension method in exactly the same way you write a static utility class (the only difference is the this keyword before the first (which should be the source data type) parameter) you can still use them as a helper class and make explicit calls to it.

                                Scott.


                                —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                                1 Reply Last reply
                                0
                                • T to_be_defined

                                  After all these years, Microsoft has decided to accept my demands to improve C#. Now I can declare all my methods in the .h file and define them in the .cs! Looking forward to my other requests: preprocessor macros and inline x86 ASM. :suss:

                                  S Offline
                                  S Offline
                                  Scott Dorman
                                  wrote on last edited by
                                  #25

                                  to_be_defined wrote:

                                  Now I can declare all my methods in the .h file and define them in the .cs!

                                  Not at all the intent behind partial methods. Depending on how the partial method is declared, it might not even be compiled into the final assembly. So it really isn't like a .h file.

                                  Scott.


                                  —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                                  1 Reply Last reply
                                  0
                                  • S SimonS

                                    I agree that C# should be kept as simple as it is in version 2. Rather have the ability to reference a plugin/DLL that would extend VS and .NET to include new features like LINQ, etc... Keep the language clean!

                                    Cheers, Simon > company:: Broken Keyboards Software > blog:: brokenkeyboards > skype :: SimonMStewart > CV :: PDF

                                    S Offline
                                    S Offline
                                    Scott Dorman
                                    wrote on last edited by
                                    #26

                                    That's kind of what's happening. The .NET 3.0 and 3.5 versions of the framework are built on top of the .NET 2.0 CLR. The changes/additions in 3.0 and 3.5 are an additional set of libraries that sit on top of (and outside) the 2.0 CLR. The only changes to the 2.0 bits are service packs that get installed (only in the case of .NET 3.5). I think the bigger issue has been the choice of "version" numbers and the confusion it has/is causing.

                                    Scott.


                                    —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                                    1 Reply Last reply
                                    0
                                    • E El Corazon

                                      All actively used languages evolve, just as all active programs evolve. Be honest, has there ever been a language where you weren't writing a program one afternoon and thought to yourself, "wouldn't it be nice if...." Perhaps the thought ended there, perhaps it didn't. But that happens to many programmers, and even the writers of these programs. "What if" is the most powerful, and most dangerous statement we all make. It makes Vista out of XP, it makes XP out of ME and 2000, it makes C# from VB&C++&Java, but it also evolves the specifics of any system, it makes Java 5 from Java, it makes OpenGL 3 from OpenGL 2, and OpenGL 2 from OpenGL 1. "What if" means your software you know and love will change, the stuff you write will change, everything you use will change. "What if" is both salvation and damnation to the programming body at large. :) "What if" can move mountains. -- modified at 13:31 Friday 7th September, 2007

                                      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                      H Offline
                                      H Offline
                                      Hamed Musavi
                                      wrote on last edited by
                                      #27

                                      El Corazon wrote:

                                      "What if" can move mountains.

                                      Let me test it: "What if Microsoft stops .Net?", is it still there? Another test: "What if that girl...?" . . . Damn it, nothing happens. Could you please change your "What if" with mine, it's not working for me.:-D

                                      // "Life is very short and is very fragile also." Yanni
                                      while (I'm_alive)
                                      {
                                      cout<<"I love programming.";
                                      }

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        I stopped using C# for my astronomy software project because it is so slow, it takes up huge amounts of runtime memory, and most people do not want to spend 30 minutes downloading and installing windows updates just to run a program.

                                        S Offline
                                        S Offline
                                        Scott Dorman
                                        wrote on last edited by
                                        #28

                                        INITCOMMONCONTROLSEX wrote:

                                        because it is so slow

                                        Since it's ultimately an interpreted language, it will always be slower than C/C++. However, I think for the majority of .NET applications the slowness comes not from the JIT process but from poorly written code. (Not applying that to your code at all, just making a general statement.)

                                        INITCOMMONCONTROLSEX wrote:

                                        it takes up huge amounts of runtime memory

                                        The amount of memory used is misleading, particularly if you are using Task Manager as the gauge. When a .NET executable starts, it receives a chunk of memory from the OS to use as the managed heap. From that point on, the .NET runtime manages the memory use. Task Manager reports the amount of OS memory allocated, which can change, but is almost always larger than the actual working set of the application. If the OS starts getting memroy starved, the runtime will release memory as needed.

                                        INITCOMMONCONTROLSEX wrote:

                                        most people do not want to spend 30 minutes downloading and installing windows updates just to run a program

                                        At this point, most people already have those updates or are used to having to download them from/for other applications and Windows updates. Now that Vista (and later OSs) will have the .NET Framework pre-installed, this alleviates a lot of the download time.

                                        Scott.


                                        —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                                        L 1 Reply Last reply
                                        0
                                        • H Hamed Musavi

                                          Exactly! I thought about rewriting one of my small projects with c#, so I had to create a new installer and guess what should be considered(as much as I remember): Service pack2 for XP, Installer 3.x, MDAC 8.x, .net framework 2, .Net framework 3, etc. Just imagine a user waiting for all these softwares to be installed before my small application installs! I totally dismissed updating:-D

                                          // "Life is very short and is very fragile also." Yanni
                                          while (I'm_alive)
                                          {
                                          cout<<"I love programming.";
                                          }

                                          S Offline
                                          S Offline
                                          Scott Dorman
                                          wrote on last edited by
                                          #29

                                          Hamed Mosavi wrote:

                                          Service pack2 for XP, Installer 3.x, MDAC 8.x, .net framework 2, .Net framework 3, etc.

                                          A lot of this is relative to the target operating system as well. Vista already comes with pretty much everything you need. There is also not a requirement that your installer bundle all of the prerequisites; sometimes it is acceptable to simply point out the fact that a particular patch/version is needed or the installer can offer to download it. At this point, most of the components you mention are already going to be on an end-users computer through Windows Update or installing some other piece of software.

                                          Scott.


                                          —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

                                          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