For all programmers who are skilled in C-style languages, and beginners who fish for new experience with these!

Report article RSS Feed C plus plus or C sharp?

Which one is preferred, what problems you encountered employing one of them?

Posted by feillyne on Jul 21st, 2010

So, what programming language are you more comfortable with? C++ or C#?

What features do you consider as advantages and disadvantages of each of these languages, from your personal experience?

To start with:
Although C++ is very hotly looked for, at least in the video game industry, personally, C++ seems a bit vague - if you mean function names, library/namespace names, etc. Makes the code hard to read w/o any comments. After learning some basics, I gave up to try out C#, which repelled me as a Micro$oft-based/created language. So initially C# seemed unattractive, or 'a language that rather should be avoided', just because of prejudice against Micro$oft.

But as much as I hate Micro$oft, so much does C# feel comfy, its OOP like a crystal, its function/namespace (etc.) naming convention concrete and clear. While in C++ it's hard not to lose oneself in one's own code, working with C# requires ZERO of comments - especially if you name your stuff clearly, you barely get lost (probably never at all, but it still depends on your own naming convention).

So to sum it up: even if C++ could be more successful & desired regarding a professional career, still C# is very cosy and so clear that it'd be a waste not to pursue some humble small indie career. ;-)

So what do you think? What were your problems with both/one of these languages? Which one got rejected by you in the course of time? Or maybe you find use for both of them?

Post comment Comments
Metalspy
Metalspy Jan 4 2011, 9:34am says:

"working with C# requires ZERO of comments - especially if you name your stuff clearly" The same goes for C++ and clearly naming your stuff, no? :P

But I've got to say I felt the same way about C#. Initially I thought "Meh it's Micro$oft, reason enough to avoid the language".. and here I am learning C#. It's a bit less complex than C++ but it is just as powerful. AFAIK C# still only works well with windows, which is of course a downside.

C++ is my 'main'/favorite language so far (I think I'm in the category of 'beginners' so I don't have that much experience yet) but C# is a very worthy second favorite language ;)

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Jul 20, 2010
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
News
Browse
News
Report Abuse
Report article
Related Groups
Curly Bracket Programming Realm
Curly Bracket Programming Realm Hobbies & Interests group with 74 members