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

    D Offline
    D Offline
    Duncan Edwards Jones
    wrote on last edited by
    #6

    Have a play around with LINQ for a while and you might think it is worth a few additional language changes to get that in...?

    '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

    R 1 Reply Last reply
    0
    • D Duncan Edwards Jones

      Have a play around with LINQ for a while and you might think it is worth a few additional language changes to get that in...?

      '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

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

      I have only looked at it superficially, but what I've seen of it I do like. It seems that it might make it a less tiresome task to write the tedious data access layer.


      "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
      • N NormDroid

        Sure any computer language can has 'limit' to it's syntax, it looks to me that VB.net introduced partial methods, so the same feature is built in the c# language. So what, we don't have to use every feature that is built into a computer lanuage, come on how many people used 'friends' in C++, not many.

        If you're struggling developing software, then I'd recommend gardening.

        B Offline
        B Offline
        benjymous
        wrote on last edited by
        #8

        The alternative of C# of just making everything "internal" so the whole assembly can poke about to its heart's desire seems very icky to me - the whole point of friendship is that you have direct control of how the contents of a class are used (and it tells users of your classes that whilst it may be ok for some other class to poke about inside, it's only that class that's allowed)

        -- Help me! I'm turning into a grapefruit! Buzzwords!

        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

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

          It's not the amount of sugar as such. The problem I see is this: Code needs to be read mroe than written, in a team everybody must be able to understand what the other has written. The more features the language has, the more advance knowledge team members need to learn before they can be considered "full" members - steepening the factual learning curve. I don't think the amount of features in C# is a problem right now, but I am concerned with consistency. Somehow, things "don't come together" anymore - but maybe I just need to dive in deeper. I wonder, though, what say Hejlsberg still has on these things. I don't agree with all of his ideas, but I consider him an excellent language designer nonetheless. For the actual change in question: the name sounds more scary than the feature itself, though this is a can of worms for debugging build problems. It does have some use, coming from C++ there may be a few things this helps with where I'd use the preprocessor C++. With the lean towards code generators, I agree wiht the comments in one of the links: I. Dont. Like. It.


          We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
          My first real C# project | Linkify!|FoldWithUs! | sighist

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