Comments on: Why You Should Learn C++ http://girtby.net/archives/2008/09/30/why-you-should-learn-c/ this blog is girtby.net Wed, 30 Sep 2009 01:44:34 -0400 http://wordpress.org/?v=2.9-rare hourly 1 By: Unknown Programmer’s Blog » 10 reasons you should know C++ http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-4285 Unknown Programmer’s Blog » 10 reasons you should know C++ Wed, 20 May 2009 09:33:32 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-4285 <p>[...] pointed out by Alastair Rankine in a post which I agree with, C++ projects are over-represented in the set of interesting projects and under-represented in the re.... All other things being equal, working on an interesting project instead of non-interesting one is [...]</p> [...] pointed out by Alastair Rankine in a post which I agree with, C++ projects are over-represented in the set of interesting projects and under-represented in the re…. All other things being equal, working on an interesting project instead of non-interesting one is [...]

]]>
By: Triodus http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-2891 Triodus Mon, 09 Mar 2009 14:55:55 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-2891 <p>I've been coding last years in C# for the .NET platform (very good for multi-tier, business oriented apps). </p> <p>Recently, i had to write code that communicates directly with an hardware device. So i took my good'ol' C/C++ knownledge and a VC++ compiler.</p> <p>How to tell.. You find yourself again writing RIGHT code, THINKING rather than trying and typing. It's really a great language, even if some others aren't bad.</p> I’ve been coding last years in C# for the .NET platform (very good for multi-tier, business oriented apps).

Recently, i had to write code that communicates directly with an hardware device. So i took my good’ol’ C/C++ knownledge and a VC++ compiler.

How to tell.. You find yourself again writing RIGHT code, THINKING rather than trying and typing. It’s really a great language, even if some others aren’t bad.

]]>
By: Aristotle Pagaltzis http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1870 Aristotle Pagaltzis Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1870 <p>You are trying to sell me on C++ because I can find more interesting C++ jobs than Java jobs? Seriously?</p> <p>And C++ can be just as cool as Perl or Ruby? Because those languages are reducible to dynamic typing – and C++ has that! … <em>Seriously!?</em></p> <p>Oh, right. Ulterior motive. I’m not on a different planet after all. Please, next time, just be honest and make it quick, OK? Insulting your readers’ intelligence is not the best way to ask something of them.</p> <p>PS.: if you spot a Haskell job, let me know.</p> You are trying to sell me on C++ because I can find more interesting C++ jobs than Java jobs? Seriously?

And C++ can be just as cool as Perl or Ruby? Because those languages are reducible to dynamic typing – and C++ has that! … Seriously!?

Oh, right. Ulterior motive. I’m not on a different planet after all. Please, next time, just be honest and make it quick, OK? Insulting your readers’ intelligence is not the best way to ask something of them.

PS.: if you spot a Haskell job, let me know.

]]>
By: Socrates http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1871 Socrates Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1871 <p>One can actually get a job programming Haskell? I thought the only practical way of using Haskell was talking on reddit about it...</p> One can actually get a job programming Haskell? I thought the only practical way of using Haskell was talking on reddit about it…

]]>
By: Don Stewart http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1872 Don Stewart Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1872 <p>Socrates, talk to these guys, http://haskell.org/haskellwiki/Haskell<em>in</em>industry</p> <p>Commercial Users of FP workshop was last week, http://cufp.galois.com, and there was no shortage of industrial users.</p> Socrates, talk to these guys, http://haskell.org/haskellwiki/Haskellinindustry

Commercial Users of FP workshop was last week, http://cufp.galois.com, and there was no shortage of industrial users.

]]>
By: Gnardok http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1873 Gnardok Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1873 <p>Yes you are correct in all your statements. I have found that of all the interesting programming jobs, C has the most in terms of algorithmic complexity and the mathematics involved. All the mindless shovel work has been moved to C++ land. C really is a better C++ and the people who say C++ is a superset of C is just plain wrong.</p> <p>The future is C99 and languages built on top of that(or maybe D). Like the Vala programming language. C++ will die and be the new Cobol.</p> Yes you are correct in all your statements. I have found that of all the interesting programming jobs, C has the most in terms of algorithmic complexity and the mathematics involved. All the mindless shovel work has been moved to C++ land. C really is a better C++ and the people who say C++ is a superset of C is just plain wrong.

The future is C99 and languages built on top of that(or maybe D). Like the Vala programming language. C++ will die and be the new Cobol.

]]>
By: Keep It Simple Stupid http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1874 Keep It Simple Stupid Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1874 <p>hello, I enjoyed your article a great deal. However I disagree with you that people should be learning C++. Let me tell you why that is.</p> <p>(1) The language feature set is too complex for most developers to master - its not enough that some people nearer the extreme end of the austism-disorder-spectrum can do that</p> <p>(2) The language spans both high level and low level programming, and low level programming is rarely needed these days.</p> <p>(3) The language feature set is ill-defined (have you tried to disentangle the ISO spec?), implementations often vary and language feature interaction is resolved in arbitrary ways that you cannot guess, only learn.</p> <p>(4) The tooling support is necessarily limited by the complexity of the language - even modern tools struggle to provide the level of finesse seen in the managed language world.</p> <p>(5) Its too brittle - mistakes in C++ can and often do bring down the entire process. Mistakes in managed languages will often only bring down the current thread.</p> <p>(6) The performance advantages are subtle to judge and often non-existent</p> <p>In summary let us consider a developer to have a complexity budget, that budget can be spent on the problem domain or on the language. C++ consumes too much of that budget on itself.</p> <p>No, let us thank C++ for what it has taught us about software development, let us thank James Gosling and friends for stealing ideas and discarding others, and let us thank ourselves for being wise enough to draw a line and move on.</p> hello, I enjoyed your article a great deal. However I disagree with you that people should be learning C++. Let me tell you why that is.

(1) The language feature set is too complex for most developers to master – its not enough that some people nearer the extreme end of the austism-disorder-spectrum can do that

(2) The language spans both high level and low level programming, and low level programming is rarely needed these days.

(3) The language feature set is ill-defined (have you tried to disentangle the ISO spec?), implementations often vary and language feature interaction is resolved in arbitrary ways that you cannot guess, only learn.

(4) The tooling support is necessarily limited by the complexity of the language – even modern tools struggle to provide the level of finesse seen in the managed language world.

(5) Its too brittle – mistakes in C++ can and often do bring down the entire process. Mistakes in managed languages will often only bring down the current thread.

(6) The performance advantages are subtle to judge and often non-existent

In summary let us consider a developer to have a complexity budget, that budget can be spent on the problem domain or on the language. C++ consumes too much of that budget on itself.

No, let us thank C++ for what it has taught us about software development, let us thank James Gosling and friends for stealing ideas and discarding others, and let us thank ourselves for being wise enough to draw a line and move on.

]]>
By: Socrates http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1875 Socrates Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1875 <p>No man undertakes a trade he has not learned, even the meanest; yet everyone thinks himself sufficiently qualified for the hardest of all trades, that of programming in C++. False words spoken by such men as "Keep It Simple Stupid" are not only evil in themselves, but they infect the soul with evil! And what is this greatest evil but that shameful ignorance of thinking that we know what we do not know?</p> <p>P.S: Thank you Don Stewart, I am once again reminded that the only thing I know is that I know nothing.</p> No man undertakes a trade he has not learned, even the meanest; yet everyone thinks himself sufficiently qualified for the hardest of all trades, that of programming in C++. False words spoken by such men as “Keep It Simple Stupid” are not only evil in themselves, but they infect the soul with evil! And what is this greatest evil but that shameful ignorance of thinking that we know what we do not know?

P.S: Thank you Don Stewart, I am once again reminded that the only thing I know is that I know nothing.

]]>
By: markus http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1876 markus Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1876 <p>The job issue really is a totally different one compared to Ruby or Python, really. I find the syntax of the latter a lot easier than on C++, including what is going on.</p> <p>Now, difficult things in math will continue to be not easy, but the thing is - if you dont need superspeed or fiddle into ultimately low level, there simply is no need anymore to use C++. Just look at many games - they use C++ for the engine and often for example Lua as the glue. Why?</p> <p>Because Lua is easier to work with than C++.</p> <p>That the job situation differs does not mean much about the above fact.</p> The job issue really is a totally different one compared to Ruby or Python, really. I find the syntax of the latter a lot easier than on C++, including what is going on.

Now, difficult things in math will continue to be not easy, but the thing is – if you dont need superspeed or fiddle into ultimately low level, there simply is no need anymore to use C++. Just look at many games – they use C++ for the engine and often for example Lua as the glue. Why?

Because Lua is easier to work with than C++.

That the job situation differs does not mean much about the above fact.

]]>
By: Alastair http://girtby.net/archives/2008/09/30/why-you-should-learn-c/comment-page-1/#comment-1877 Alastair Tue, 30 Sep 2008 11:29:00 +0000 http://girtby.net/2008/09/30/why-you-should-learn-c#comment-1877 <blockquote> <p>You are trying to sell me on C++ because I can find more interesting C++ jobs than Java jobs? Seriously?</p> </blockquote> <p>Yes. That has been my experience.</p> <blockquote> <p>And C++ can be just as cool as Perl or Ruby? Because those languages are reducible to dynamic typing – and C++ has that! … <em>Seriously!?</em></p> </blockquote> <p>No. I never said that.</p> <p>I'm not trying to insult your intelligence, please don't insult mine.</p>

You are trying to sell me on C++ because I can find more interesting C++ jobs than Java jobs? Seriously?

Yes. That has been my experience.

And C++ can be just as cool as Perl or Ruby? Because those languages are reducible to dynamic typing – and C++ has that! … Seriously!?

No. I never said that.

I’m not trying to insult your intelligence, please don’t insult mine.

]]>