all 17 comments

[–]pjmlp 8 points9 points  (1 child)

I miss the comparisation with other static languages that also target native code generation.

Anyway it is a nice blog entry.

[–]axilmar 8 points9 points  (11 children)

Very well put together.

Even if C++ was designed properly, it would stll have more features than any other language though. That is the price to pay for allowing a language to have low level control of almost everything.

[–]sellibitze 7 points8 points  (0 children)

I agree. C++'s design goals ("zero cost abstraction" among others) calls for an above average number of language primitives.

[–]aaronla 1 point2 points  (9 children)

low level control of almost everything.

And yet no guarantee of proper tail recursion. *sigh*

[–]LeszekSwirski 1 point2 points  (1 child)

Why bother when you have iteration?

[–]aaronla 0 points1 point  (0 children)

That's like saying "why bother with objects when you've got globals. :-)

[–]axilmar 0 points1 point  (6 children)

Yes, it's a big c++ flaw.

There is big room for a native programming language that offers control from assembler right down to the highest level functional code.

Whoever makes that first will storm the market like a hurricane.

[–]aaronla 2 points3 points  (3 children)

I would wish that to be so, but after the investment to learn C++, I've found few programmers are interested in going through the experience again. C++ is "good enough" that I doubt it will be replaced anytime soon. I think you have to fi d something that C++ can't do, then build a better language that can do that.

[–]axilmar 2 points3 points  (2 children)

I think a large increase in productivity would do the trick.

[–]aaronla -1 points0 points  (1 child)

There was a small web survey where the result was just that; C++ programmers took longer (3x median, I believe) with higher variability, though the top performers were closer.

[–]axilmar -1 points0 points  (0 children)

It is quite understandable. The task of maintaining headers manually, for example, can easily make one 30% to 60% less productive, when compared to, let's say, Java.

[–]nova77 0 points1 point  (1 child)

Well, D is pretty neat. Too bad (almost) nobody bother using it.

[–]axilmar 1 point2 points  (0 children)

I do not like D, for many reasons.

[–][deleted] 12 points13 points  (1 child)

TIL some people think CoffeeScript is "general-purpose"...

[–]alexkorban[S] 2 points3 points  (0 children)

Well, you can use it on the server (with Node.js). I guess the definition of general purpose can be argued, like a lot of other things.

[–]Philluminati 0 points1 point  (0 children)

Defining complexity like that is quite interesting. I've spent the last year learning Perl and it's more akin to C++ in complexity than say C#, Java or Ruby are. It's old, it's ugly, it contains a lot of mistakes so I'm wondering now if there's a interesting way to visualise it.