For all programmers who are skilled in C-style languages, and beginners who fish for new experience with these!
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?