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. C# - just making an observation

C# - just making an observation

Scheduled Pinned Locked Moved The Lounge
csharpc++javaphpdelphi
67 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.
  • M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #1

    Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

    Imperative to Functional Programming Succinctly Higher Order Programming

    Kornfeld Eliyahu PeterK J D M OriginalGriffO 17 Replies Last reply
    0
    • M Marc Clifton

      Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

      Imperative to Functional Programming Succinctly Higher Order Programming

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      I think the reason is that C# team put the ego aside - they do not care how many times John Doe says: 'It was copied from ...', what matter if it is a useful language feature or not...So C# - even being a new-age language - has all the 'wisdom' all the old languages got ever...

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      • M Marc Clifton

        Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

        Imperative to Functional Programming Succinctly Higher Order Programming

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #3

        Even though I'm always a C/C++ guy at heart for the desktop and a PHP/JavaScript guy for the web, I happen to agree with this. As a language, without the extra garbage added on by some frameworks like EF, C# really is a nice language. My biggest beef with it is no support for multiple inheritance, but every environment has a couple of "would be nice" things. It's the simple stuff though. Like partial class support. If you're in an IDE that sucks, and thus makes code navigation a b*tch, it's nice to have compiler support to be able to make files more manageable. Things like that. Sure, I can get around it, but it's nice to have. And needless to say, I was tickled pink when C++ 11 adopted some ideas from newer languages like C#.

        Jeremy Falcon

        1 Reply Last reply
        0
        • M Marc Clifton

          Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

          Imperative to Functional Programming Succinctly Higher Order Programming

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

          I agree- and even more so when I returnto something I wrote > 1 year ago in C# I can still work out what the code does and why, and am back up and running pretty quickly. I do sometimes wish great swathes of it were marked as depreciated though - people who don't use typed (generic) lists and pass DataSets around between methods need nudging towards a better path...including me.

          P 1 Reply Last reply
          0
          • D Duncan Edwards Jones

            I agree- and even more so when I returnto something I wrote > 1 year ago in C# I can still work out what the code does and why, and am back up and running pretty quickly. I do sometimes wish great swathes of it were marked as depreciated though - people who don't use typed (generic) lists and pass DataSets around between methods need nudging towards a better path...including me.

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

            Sorry, DataSets and DataTables need to go - they are the spawn of Beelzebub himself.

            M J D 3 Replies Last reply
            0
            • M Marc Clifton

              Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

              Imperative to Functional Programming Succinctly Higher Order Programming

              M Offline
              M Offline
              mikepwilson
              wrote on last edited by
              #6

              Ugh. Is it really that good? I've fiddlyfarted with it here and there, but I've never done any serious work in it. I've been a C++ guy since the 80s (with lots of everything in the interim.) Maybe it's time to suck it up and take a serious bite out of it.

              L A M 3 Replies Last reply
              0
              • M mikepwilson

                Ugh. Is it really that good? I've fiddlyfarted with it here and there, but I've never done any serious work in it. I've been a C++ guy since the 80s (with lots of everything in the interim.) Maybe it's time to suck it up and take a serious bite out of it.

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

                The heavily nerfed templates in C# will probably annoy you. They annoy me, and I don't even work with C++ that much.

                1 Reply Last reply
                0
                • M Marc Clifton

                  Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                  Imperative to Functional Programming Succinctly Higher Order Programming

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

                  I would agree. Started with COBOL/FORTRAN, moved to Pascal and assembler, then to C and Assembler, and C++ and assembler. Then moved to C# five or six years ago. It's a coherent, well-thought-out language, that works very, very well indeed. My only criticism is that it's become easier to abuse it: var in particular, along with ArrayList and it's unpleasant ilk still remaining in the framework years after they should have been put to sleep as a mercy killing...along with teachers who think goto is something they should start off by teaching.:mad:

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  "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

                  B 1 Reply Last reply
                  0
                  • M Marc Clifton

                    Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                    Imperative to Functional Programming Succinctly Higher Order Programming

                    J Offline
                    J Offline
                    JMK NI
                    wrote on last edited by
                    #9

                    Say what you like about Microsoft, but they were able to get the smartest guys in the industry in the same room at the same time, over an extended period of time, and leave them to it. The result was C# and I agree, it's bloody brilliant!

                    1 Reply Last reply
                    0
                    • M mikepwilson

                      Ugh. Is it really that good? I've fiddlyfarted with it here and there, but I've never done any serious work in it. I've been a C++ guy since the 80s (with lots of everything in the interim.) Maybe it's time to suck it up and take a serious bite out of it.

                      A Offline
                      A Offline
                      Albert Holguin
                      wrote on last edited by
                      #10

                      I'm on this same boat... I've been C/C++ for so long it's hard to see too much justification of why to change something that's worked so well for so long. I have however, heard good things about C#... and it'll be even more interesting once MS makes their .NET framework open source and it spreads to other platforms more easily. As a side note, I've also recently started working in Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.

                      M N 2 Replies Last reply
                      0
                      • M Marc Clifton

                        Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                        Imperative to Functional Programming Succinctly Higher Order Programming

                        R Offline
                        R Offline
                        Ravi Bhavnani
                        wrote on last edited by
                        #11

                        In violent agreement! :thumbsup:  (Although I must confess I'm ignorant about F#.) /ravi

                        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                        1 Reply Last reply
                        0
                        • A Albert Holguin

                          I'm on this same boat... I've been C/C++ for so long it's hard to see too much justification of why to change something that's worked so well for so long. I have however, heard good things about C#... and it'll be even more interesting once MS makes their .NET framework open source and it spreads to other platforms more easily. As a side note, I've also recently started working in Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.

                          M Offline
                          M Offline
                          mikepwilson
                          wrote on last edited by
                          #12

                          Python's a slick little language. I use perl day to day. It's tough to justify C++ for these quick hit scripts I've fallen in to writing. God how I miss real programming.

                          A 1 Reply Last reply
                          0
                          • M Marc Clifton

                            Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                            Imperative to Functional Programming Succinctly Higher Order Programming

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #13

                            To each their own. I frankly never liked C# - feels like VB sprinkled with semicolons and curly braces X|

                            utf8-cpp

                            J 1 Reply Last reply
                            0
                            • M mikepwilson

                              Python's a slick little language. I use perl day to day. It's tough to justify C++ for these quick hit scripts I've fallen in to writing. God how I miss real programming.

                              A Offline
                              A Offline
                              Albert Holguin
                              wrote on last edited by
                              #14

                              mikepwilson wrote:

                              I use perl day to day. It's tough to justify C++ for these quick hit scripts I've fallen in to writing.

                              In my last job I used perl for quick scripts too. It worked out well...

                              M 1 Reply Last reply
                              0
                              • A Albert Holguin

                                I'm on this same boat... I've been C/C++ for so long it's hard to see too much justification of why to change something that's worked so well for so long. I have however, heard good things about C#... and it'll be even more interesting once MS makes their .NET framework open source and it spreads to other platforms more easily. As a side note, I've also recently started working in Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.

                                N Offline
                                N Offline
                                Nemanja Trifunovic
                                wrote on last edited by
                                #15

                                Albert Holguin wrote:

                                Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.

                                I use Python a lot these days and generally like it, but it is really impossible to make it even remotely as fast as C++. Even Java code is blazingly fast compared to Python.

                                utf8-cpp

                                A 1 Reply Last reply
                                0
                                • N Nemanja Trifunovic

                                  Albert Holguin wrote:

                                  Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.

                                  I use Python a lot these days and generally like it, but it is really impossible to make it even remotely as fast as C++. Even Java code is blazingly fast compared to Python.

                                  utf8-cpp

                                  A Offline
                                  A Offline
                                  Albert Holguin
                                  wrote on last edited by
                                  #16

                                  Nemanja Trifunovic wrote:

                                  but it is really impossible to make it even remotely as fast as C++

                                  What!? ...are you kidding? ...it's easy to make it that fast ...we use it on real-time systems.

                                  N 1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                                    Imperative to Functional Programming Succinctly Higher Order Programming

                                    I Offline
                                    I Offline
                                    Ian Shlasko
                                    wrote on last edited by
                                    #17

                                    :thumbsup: I started in BASIC back in the 80's, and made my way through C, Perl, Java, and some dabbling in TCL and Python... But I haven't found anything better than C#. Granted, Visual Studio has something to do with that... Haven't found a better IDE anywhere. The others I've tried all feel clumsy and weak. Well, I mean, Unity is several kinds of awesome, but that's a little different. Now if only they would switch Excel's scripting interface from VBA to .NET, I could stop hating MS Office too.

                                    Proud to have finally moved to the A-Ark. Which one are you in?
                                    Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                                    J A M 3 Replies Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      To each their own. I frankly never liked C# - feels like VB sprinkled with semicolons and curly braces X|

                                      utf8-cpp

                                      J Offline
                                      J Offline
                                      Jeremy Falcon
                                      wrote on last edited by
                                      #18

                                      I thought that way for a while too, until I had to use it. I wouldn't use it for apps that require heavy computation, but for business apps its nice and much much better than VB.

                                      Jeremy Falcon

                                      M M 2 Replies Last reply
                                      0
                                      • M Marc Clifton

                                        Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                                        Imperative to Functional Programming Succinctly Higher Order Programming

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

                                        Marc Clifton wrote:

                                        frankly, C# is the most elegant and well crafted language I've ever worked with

                                        Yes, it is. Even though I still miss a QUICK compiler like Delphi had (and sometimes a linker), and aw, the joy of compiling your own VCL. Being able to allocate and deallocate by hand also seemed to be better than having the memory fill up until some lowpriority thread halts your app and starts cleaning up - even though NET4 does a good job at it, I'd rather still be doing it myself.

                                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                        OriginalGriffO 1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          Not to start a flame war, I am simply relating my recent personal experience... So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.) In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more. I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP. Marc

                                          Imperative to Functional Programming Succinctly Higher Order Programming

                                          M Offline
                                          M Offline
                                          Member 10088171
                                          wrote on last edited by
                                          #20

                                          Most agree C# is good but times are changing again. First it comes with the overhead of the framework, undeterministic memory management with garbage collectors. Devices are getting smaller and competition on the server side is cutting into profits. Simply put in terms of performance per $ it cannot win on the server side and as mobile app with C++. We are slowly moving to true massive parallelism using GPU computing and it is doable with managed code going through some extra steps to bridge native and managed but why doing it? Modern languages tend to be more verbose. C++ code is terse, impressively logic and amazingly modern and relevant despite old age. C# facilities are nothing more than iteration of STL or Boost. The only advantage is UI but with Web front this is no longer main consideration in choosing the language. C# is evolving and there is nothing wrong with it (I am using .Net extensively) but looking forward, surprisingly, for many applications C# may not be the best choice.

                                          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