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

    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.

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

    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

    L A 2 Replies 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.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #3

      Yeah, backgroundworker makes synching up the UI thread and so on really trivial. Like someone else said, it's the framework that makes .NET cool.

      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

      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.

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #4

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

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #5

          I use a BackgroundWorker in almost every app I write.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          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.

            G Offline
            G Offline
            Gary R Wheeler
            wrote on last edited by
            #6

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

              K Offline
              K Offline
              koolprasad2003
              wrote on last edited by
              #7

              almost what happen is we develope or code such a functionality that alreay present in .NET control but we don't know about that... :doh: is this our lazyness to read books ??? :confused: ;P -koolprasad2003 :)

              If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy

              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

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

                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 1 Reply Last reply
                0
                • 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
                                          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