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. Why C# is hot... cool... whatever

Why C# is hot... cool... whatever

Scheduled Pinned Locked Moved The Lounge
csharpcomtutorial
35 Posts 21 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.
  • L Lost User

    http://www.qtsoftware.com/[^] It's a very rich framework. I've been using it for a little while and it's an absolute joy.

    R Offline
    R Offline
    rastaVnuce
    wrote on last edited by
    #9

    I was about to suggest exactly the same thing. Quite a few of my company's products are based on that framework, and I must say, working with it is a pleasure. Good job, Trolltech, Qt Software and Nokia (this sounds exactly as me, myself and I :D ).

    Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

    D 1 Reply Last reply
    0
    • L Lost User

      I was looking at how to use a thread for background tasks and there is a BackgroundWorker in the toolbox list :cool:

      Visit http://www.notreadytogiveup.com/[^] and do something special today.

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

      That's .NET Framework you are talking about, not C# :) Seriously, take a look at F#.

      Programming Blog utf8-cpp

      K 1 Reply Last reply
      0
      • G Gary R Wheeler

        The threading facilities in .NET are indeed :cool:. We have a C++ library that implements our TCP/IP socket communications, and a second that implements socket-based event logging, both used heavily in our distributed application. I replicated the functionality of both libraries in <2 weeks in C#. Of course, some of the ease in building the .NET versions of the libraries stems from the fact that so much of the stuff in the C++ libraries you get for 'free' with .NET.

        Software Zen: delete this;
        Fold With Us![^]

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #11

        C# is gg..:rolleyes:... good. :-D

        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

        1 Reply Last reply
        0
        • L Lost User

          I was looking at how to use a thread for background tasks and there is a BackgroundWorker in the toolbox list :cool:

          Visit http://www.notreadytogiveup.com/[^] and do something special today.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #12

          Welll... yeeaah... but it doesn't belong in the toolbox, it doesn't appear on the form.

          L 1 Reply Last reply
          0
          • N Nemanja Trifunovic

            That's .NET Framework you are talking about, not C# :) Seriously, take a look at F#.

            Programming Blog utf8-cpp

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #13

            Do you think F# will take off next year or remain niche? My guess is that most developers will shun it because it seems too alien (personally I wouldn't shun it just because of that but developers are often surprisingly conservative).

            Kevin

            N R 2 Replies Last reply
            0
            • K Kevin McFarlane

              Do you think F# will take off next year or remain niche? My guess is that most developers will shun it because it seems too alien (personally I wouldn't shun it just because of that but developers are often surprisingly conservative).

              Kevin

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

              Kevin McFarlane wrote:

              Do you think F# will take off next year or remain niche? My guess is that most developers will shun it because it seems too alien

              My guess is it will remain niche. It is hard to learn and the benefits of using it are not obvious to most developers. But again, I've been wrong before :)

              Programming Blog utf8-cpp

              K 1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Kevin McFarlane wrote:

                Do you think F# will take off next year or remain niche? My guess is that most developers will shun it because it seems too alien

                My guess is it will remain niche. It is hard to learn and the benefits of using it are not obvious to most developers. But again, I've been wrong before :)

                Programming Blog utf8-cpp

                K Offline
                K Offline
                Kevin McFarlane
                wrote on last edited by
                #15

                I had a brief look at Scala a while back and it seems more accessible, though that could be illusory because its syntax is more familiar.

                Kevin

                N 1 Reply Last reply
                0
                • P PIEBALDconsult

                  Welll... yeeaah... but it doesn't belong in the toolbox, it doesn't appear on the form.

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

                  The toolbox offers easy access to Controls (as in System.Windows.Forms.Control) and other Components (as in System.ComponentModel.Component), things one often needs, and having lots of properties. They include Timers, SerialPorts, BackgroundWorkers, etc. Dragging and configuring them through Designer makes sense to me. :)

                  Luc Pattyn [Forum Guidelines] [My Articles]


                  The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


                  P 1 Reply Last reply
                  0
                  • K Kevin McFarlane

                    I had a brief look at Scala a while back and it seems more accessible, though that could be illusory because its syntax is more familiar.

                    Kevin

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

                    Kevin McFarlane wrote:

                    I had a brief look at Scala a while back

                    Interesting that you mention Scala in the same context as F#. I believe they play roughly equivalent role on their platforms. And I think they are both going to remain niche, although Scala probably has better chance of going mainstream because Java evolves slower than C# and VB so that may influence some Java developers to switch to Scala. On the .NET side, I am afraid we are going to continue enjoying the verbosity and clumsiness of C# and VB :)

                    Programming Blog utf8-cpp

                    K 1 Reply Last reply
                    0
                    • L Luc Pattyn

                      The toolbox offers easy access to Controls (as in System.Windows.Forms.Control) and other Components (as in System.ComponentModel.Component), things one often needs, and having lots of properties. They include Timers, SerialPorts, BackgroundWorkers, etc. Dragging and configuring them through Designer makes sense to me. :)

                      Luc Pattyn [Forum Guidelines] [My Articles]


                      The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #18

                      Luc Pattyn wrote:

                      makes sense to me

                      Then I guess you're in its demographic.

                      1 Reply Last reply
                      0
                      • K Kevin McFarlane

                        Do you think F# will take off next year or remain niche? My guess is that most developers will shun it because it seems too alien (personally I wouldn't shun it just because of that but developers are often surprisingly conservative).

                        Kevin

                        R Offline
                        R Offline
                        Rama Krishna Vavilala
                        wrote on last edited by
                        #19

                        One area where F# has some promise is in Scientific and engineering computations. The other area where I think F# might be useful is in the area of DSLs (Domain specific languages). I am currently investigating in my free time how to use F# for Financial modeling.

                        1 Reply Last reply
                        0
                        • N Nemanja Trifunovic

                          Kevin McFarlane wrote:

                          I had a brief look at Scala a while back

                          Interesting that you mention Scala in the same context as F#. I believe they play roughly equivalent role on their platforms. And I think they are both going to remain niche, although Scala probably has better chance of going mainstream because Java evolves slower than C# and VB so that may influence some Java developers to switch to Scala. On the .NET side, I am afraid we are going to continue enjoying the verbosity and clumsiness of C# and VB :)

                          Programming Blog utf8-cpp

                          K Offline
                          K Offline
                          Kevin McFarlane
                          wrote on last edited by
                          #20

                          Nemanja Trifunovic wrote:

                          Scala probably has better chance of going mainstream

                          Twitter is a prominent user. It's written mostly in Ruby, Java and Scala.

                          Kevin

                          B 1 Reply Last reply
                          0
                          • L Lost User

                            I was looking at how to use a thread for background tasks and there is a BackgroundWorker in the toolbox list :cool:

                            Visit http://www.notreadytogiveup.com/[^] and do something special today.

                            P Offline
                            P Offline
                            patbob
                            wrote on last edited by
                            #21

                            I all comes down to money. C# is cool and hot only because Microsoft has marketed it to developers that way. C# is just another slow, limited, buggy C++ clone without the .NET library. The .NET library could have been written almost 20 years ago as that's when a lot of those patterns you're loving so much were first written up and the community was catching on to their value. Mircosoft only did something that was new for them with C# and .NET, not something that was new to the developer community. Yes I use C#, every day in fact. Obviously, I'm not terribly impressed.

                            patbob

                            C 1 Reply Last reply
                            0
                            • H Henry Minute

                              Now all they have to do is make MSDN work, so that it's easier to find this stuff out. :)

                              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                              B Offline
                              B Offline
                              Bit Smacker
                              wrote on last edited by
                              #22

                              Henry Minute wrote:

                              Now all they have to do is make MSDN work, so that it's easier to find this stuff out.

                              No kidding! I can usually find what I'm looking for on MSDN faster by using Google, and usually accidentally find better information on external blogs!

                              L 1 Reply Last reply
                              0
                              • K Kevin McFarlane

                                Nemanja Trifunovic wrote:

                                Scala probably has better chance of going mainstream

                                Twitter is a prominent user. It's written mostly in Ruby, Java and Scala.

                                Kevin

                                B Offline
                                B Offline
                                Bit Smacker
                                wrote on last edited by
                                #23

                                Yeah, but considering that Twitter runs on Apple stuff, it makes sense to that the fruit-fanatics would "think different" about how to create a mainstream web app. It also explains why their service so often displays "network too busy" messages when trying to simply login.

                                1 Reply Last reply
                                0
                                • K Kevin McFarlane

                                  That's one of the advantages of .NET over C++, the rich framework. Yes I know you can achieve the same in C++ but you have to hunt harder. Though things may have moved on in the past four years which was when I last looked at C++.

                                  Kevin

                                  A Offline
                                  A Offline
                                  accent123
                                  wrote on last edited by
                                  #24

                                  Please do not confuse between .NET and C++; .NET is a framework, while C++ is a language. Also, C++ creates .NET.

                                  K R 2 Replies Last reply
                                  0
                                  • A accent123

                                    Please do not confuse between .NET and C++; .NET is a framework, while C++ is a language. Also, C++ creates .NET.

                                    K Offline
                                    K Offline
                                    Kevin McFarlane
                                    wrote on last edited by
                                    #25

                                    I'm not confused. When you're using C# it's inseparable from the .NET framework, i.e., you have a rich library at your fingertips. With C++ typically you do not and either need to do all the stuff yourself or hunt around for disparate pieces.

                                    accent123 wrote:

                                    Also, C++ creates .NET.

                                    So what? I'm not saying that C# is superior to C++, just that it has better "infrastructure" support for common problems. Naturally there are some scenarios where despite this C++ is a better choice.

                                    Kevin

                                    1 Reply Last reply
                                    0
                                    • B Bit Smacker

                                      Henry Minute wrote:

                                      Now all they have to do is make MSDN work, so that it's easier to find this stuff out.

                                      No kidding! I can usually find what I'm looking for on MSDN faster by using Google, and usually accidentally find better information on external blogs!

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

                                      I don't program much anymore but enjoy reading threads such as this as I still do a little C# .NET work. Your post caused me to wax nostalgic and recall how back in my early days when something didn't work the way you thought it would - due to bad or no documentation, or buggy program, or hardware failure (which used to happen quite often) - you had no Internet for help. Imagine no user forums. There were computer clubs whose members helped one another but when you're at a point that needs to be dealt with immediately, well, you know... There were published algorithms to do all kinds of sorts and searches and stuff, but there were no rich frameworks that generated the code for you. To make matters much worse there was always a memory and storage limitation to consider. Now if you need a fast file hash method just allocate some megabytes or gigabytes or, hell, terabytes. As for a development platform C# .NET is superb. As Ray Kurzweil's book title says: The Singularity is near. Mack McKinney

                                      S B 2 Replies Last reply
                                      0
                                      • L Lost User

                                        I don't program much anymore but enjoy reading threads such as this as I still do a little C# .NET work. Your post caused me to wax nostalgic and recall how back in my early days when something didn't work the way you thought it would - due to bad or no documentation, or buggy program, or hardware failure (which used to happen quite often) - you had no Internet for help. Imagine no user forums. There were computer clubs whose members helped one another but when you're at a point that needs to be dealt with immediately, well, you know... There were published algorithms to do all kinds of sorts and searches and stuff, but there were no rich frameworks that generated the code for you. To make matters much worse there was always a memory and storage limitation to consider. Now if you need a fast file hash method just allocate some megabytes or gigabytes or, hell, terabytes. As for a development platform C# .NET is superb. As Ray Kurzweil's book title says: The Singularity is near. Mack McKinney

                                        S Offline
                                        S Offline
                                        shea c4
                                        wrote on last edited by
                                        #27

                                        It's wonderful isn't it? The functionality at your fingertips these days is so rich that sometimes it feels like you can get 10 times as much done these days as you could a mere 10 years ago.

                                        arnshea.blogspot.com

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          I don't program much anymore but enjoy reading threads such as this as I still do a little C# .NET work. Your post caused me to wax nostalgic and recall how back in my early days when something didn't work the way you thought it would - due to bad or no documentation, or buggy program, or hardware failure (which used to happen quite often) - you had no Internet for help. Imagine no user forums. There were computer clubs whose members helped one another but when you're at a point that needs to be dealt with immediately, well, you know... There were published algorithms to do all kinds of sorts and searches and stuff, but there were no rich frameworks that generated the code for you. To make matters much worse there was always a memory and storage limitation to consider. Now if you need a fast file hash method just allocate some megabytes or gigabytes or, hell, terabytes. As for a development platform C# .NET is superb. As Ray Kurzweil's book title says: The Singularity is near. Mack McKinney

                                          B Offline
                                          B Offline
                                          Bit Smacker
                                          wrote on last edited by
                                          #28

                                          I remember purchasing a library of assembly language functions for the Commodore 64, which provided user interface functionality. That was the closest thing that I had to a framework back then. I would sit up all night, staring at code, printing out code and highlighting it, compiling over and over, making small changes to avoid a troubleshooting nightmare. It was almost an art form -- to try to fit the most functionality into the smallest amount of memory, using the smallest amount of processor power. Now, things are almost directly opposite. With all emphasis being on development time, optimization takes a back seat in most business-oriented applications. I still get a guilty feeling when I code something quickly, knowing that I could have done it more efficiently with just a little more time. But, that extra time could be spent on another project, and that's all that matters to the corporate bean-counters.

                                          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