Go Back   openSUSE Forums > Surveys/Polls
Forums FAQ Members List Search Today's Posts Mark Forums Read


Surveys/Polls Share opinions about various topics

View Poll Results: C# or C++, which one do you choose?
C# 8 27.59%
C++ 21 72.41%
Voters: 29. You may not vote on this poll

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Jan-2009, 09:19
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
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
Reply With Quote
  #2 (permalink)  
Old 23-Jan-2009, 09:48
geoffro's Avatar
Wise Penguin
 
Join Date: Mar 2008
Location: Västerås, Sweden ex. Highbury London UK
Posts: 1,288
geoffro hasn't been rated much yet
Send a message via MSN to geoffro
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
Reply With Quote
  #3 (permalink)  
Old 23-Jan-2009, 10:12
Axeia's Avatar
Parent Penguin
 
Join Date: Jul 2008
Location: Netherlands
Posts: 983
Axeia 's reputation will be famous soon enoughAxeia 's reputation will be famous soon enoughAxeia 's reputation will be famous soon enough
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
Reply With Quote
  #4 (permalink)  
Old 23-Jan-2009, 10:13
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
Default Re: C# or C++

And what about performance. Isn't Mono/.NET a runtime, which means it's slower than native code?
Reply With Quote
  #5 (permalink)  
Old 23-Jan-2009, 10:14
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
Default Re: C# or C++

Btw, I voted for C++ so I can see the results immediately and since I started learning it.
Reply With Quote
  #6 (permalink)  
Old 23-Jan-2009, 10:16
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
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.
Reply With Quote
  #7 (permalink)  
Old 23-Jan-2009, 12:17
Axeia's Avatar
Parent Penguin
 
Join Date: Jul 2008
Location: Netherlands
Posts: 983
Axeia 's reputation will be famous soon enoughAxeia 's reputation will be famous soon enoughAxeia 's reputation will be famous soon enough
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
Reply With Quote
  #8 (permalink)  
Old 23-Jan-2009, 12:57
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
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.
Reply With Quote
  #9 (permalink)  
Old 23-Jan-2009, 18:45
jameswalmsley's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 38
jameswalmsley hasn't been rated much yet
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
Reply With Quote
  #10 (permalink)  
Old 25-Jan-2009, 07:48
EarthMind's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Belgium
Posts: 170
EarthMind hasn't been rated much yet
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
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2