View Poll Results: C# or C++, which one do you choose?

Voters
29. You may not vote on this poll
  • C#

    8 27.59%
  • C++

    21 72.41%
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: C# or C++

  1. #1
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default C# or C++

    I'm really hesitating on which one to learn, C# is a Microsoft invention but Novell is doing good with Mono development so I'm still hesitating on which one to learn. I already started learning C++ but may change my mind when I hear your opinions.

    Please also mention why you voted for that one and I appreciate a detailed response.

    Thank you

  2. #2
    Join Date
    Mar 2008
    Location
    Vsters, Sweden ex. Highbury London UK
    Posts
    1,245

    Default Re: C# or C++

    If you just want to program for Linux then c++ is the best bet. However if you plan on getting a job programming then c3 is probably better especially in combination with M$ sharepoint as theres skills are an asset. At least here in Sweden where there are plenty of jobs despite the of the market.

    /Geoff
    Core 2 Duo 3.16GHz, 8GB DDR2, 3.5TB, GeForce 9600 GT, Amilo LCD 26", OS 11.1 x86_64, KDE4.2.4 (2)
    My wine tips & tricks

  3. #3
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,140

    Default Re: C# or C++

    If you go down the C# path and have any way of legally obtaining visual studio (no idea if there are trials out there) I highly recommend it above any other IDE, catch is that you'll also need windows.. as it doesn't seem to run under wine.
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

  4. #4
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default Re: C# or C++

    And what about performance. Isn't Mono/.NET a runtime, which means it's slower than native code?

  5. #5
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default Re: C# or C++

    Btw, I voted for C++ so I can see the results immediately and since I started learning it.

  6. #6
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default Re: C# or C++

    Well, I should also say this: it's mainly for cross-platform development so in case of C# I'd be programming for Mono so I'd probably be using MonoDevelop.

  7. #7
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,140

    Default Re: C# or C++

    Quote Originally Posted by EarthMind View Post
    Well, I should also say this: it's mainly for cross-platform development so in case of C# I'd be programming for Mono so I'd probably be using MonoDevelop.

    But only if you have the option to use it for free it's great, as I'm sure it's quite costly if you actually have to purchase it.

    It's just that it's a great application to work in.. was rather dissapointed by monodevelop. Might also be cause I've only received guidance with visual studio that it is the only application I know how to make proper use of.
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

  8. #8
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default Re: C# or C++

    I was quite surprised to see Mono integration into a Microsoft product but I bet it's an extra plugin you've installed?

    I will have a look at Visual Studio but I doubt my interest because I mainly develop in Linux and use Windows just for hacking the result.

  9. #9

    Default Re: C# or C++

    I'm an expert in C programming, which is really the basis of C++. My advice to anyone who wants to get really good at programming is to learn C. Some think you should learn Python first because it hides you from the underlying details.

    However, C is small and compact, and you can get really good with it within a couple of years (if you have a natural talent).

    Once you know C, you can easily pick up the object-oriented parts of C++, and quickly become adept in using the other features of the language.

    It has to be said, that C++ is an absolute beast, and very difficult to master all aspects of the language. C ties very closely to the underlying hardware. It the lowest level programming language aside from machine code, and is great when you need performance, like in the linux kernel. 99.9% C code. Other small part is hand-written machine code.

    A good C++ programmer, can learn C# quickly too, because the two languages a relatively similar. They differ in the details.

    A tutor of mine once said, there are 2 types of people, those who can program, and those who can't. That means, that if you can program, then it doesn't matter what language it is. You'll just have a knack for it!

    All the best,
    and enjoy, programming is about solving problems, not necessarily a language itself.

    James
    www.worm.me.uk | james at worm dot me dot uk

  10. #10
    Join Date
    Jun 2008
    Location
    Belgi
    Posts
    174

    Default Re: C# or C++

    Thank you for your detailed response.

    The reason why I immediately chose for C++ is because of the LGPL license addition to Qt so it looks way more interesting, another advantage is their Qt creator application which focuses on C++ only. To be honest, the LGPL addition to Qt is the reason why I made my decision and go from web development to desktop application development.

    As an expert in C, could you tell me what toolkit you use for cross-platform (if applicable) GUI development? GTK, Qt, WxWidgets or another? Please also explain your choice if possible.

    Thank you

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •