News for hackers. Stuff that matters.

Ask: C++ or C#?

Hello, Which programming language do you prefer between C++ or C#?
( 2 comments | 2 points | on HN )
Re:Ask: C++ or C#? by MarkPNeyer on Monday August 22, 2011 @09:42AM (#2912393)
it depends on what you're doing. c# is great for rapid development and will work for anything you're doing unless you absolutely, positively need performance.

c++ is pretty much a terrible language to use for anything unless you absolutely, positively need performance. some haters will argue that you should use c, but honestly,

for (std::vector<Hater>::iterator it = haters.begin; it != haters.end(); ++it) { cout << it << "'s gonna hate."; }

Re:Ask: C++ or C#? by Huzi94 on Monday August 22, 2011 @02:42PM (#2913540)
One constraint I have learned about C# is that it requires .NetFramework for program execution.