Live data from Hacker News

Hacker Poll: Is C++ the Language of the Future?

readwriteweb.com

1–10 of 69 posts

Re: Hacker Poll: Is C++ the Language of the Future?

#2
Even though there is a lot of hate for C++ as a language due to its complexity, it does fit in a niche (cross platform, object oriented native language) that no other language does, although D, Objective-C and Go come close.

I wonder if it'd make sense to develop a Coffee Script style language that compiles a "sane" subset of C++, gets rid of some of the nasty\annoying aspects of C++ (header files), and helps enforce good C++ coding practices (const correctness) but is close to C++.

Re: Hacker Poll: Is C++ the Language of the Future?

#4
I find a lot of people complain "C++ is too complicated", but personally i don't think its that hard to get your head around... apart from the cryptic template handling.

Some of my more interesting projects are C++ based so i have a feeling it's going to stick around for quite a while yet.

Re: Hacker Poll: Is C++ the Language of the Future?

#5
I don't use C/C++ for the same reason I don't use assembly. There are superior languages out there that do a better job with everything important for building complicated software that is robust, easy to use, easy to maintain, fast and scalable. C++ is on its way out, it is still relevant and will be relevant for decades though. As is Cobol.

Re: Hacker Poll: Is C++ the Language of the Future?

#7
I don't like C++ as a language AT ALL, but the fact is, for cross-platform native app development, it's the only game in town unless you want to write C. Do you want your app (or some part of your app) to run on Windows/OSX/iOS/Android/Linux? Then you're writing it in C++.

It sucks, in many ways, but it's what we have.

Re: Hacker Poll: Is C++ the Language of the Future?

#8
post #5

I don't use C/C++ for the same reason I don't use assembly. There are superior languages out there that do a better job with everything important for building complicated software that is robust, easy to use, easy to maintain, fast and scalable. C++ is on its way out, it is still relevant and will be relevant for decades though. As is Cobol.

There are superior languages out there that do a better job

Your statement is false, because the choice of language depends on the job. For example, when I need to make something simple quickly I will do it in C#. However when I need to write an add-on to an existing application that doesn't have an official plugin system, then C++ and Assembly are really awesome.

Re: Hacker Poll: Is C++ the Language of the Future?

#9
I have spent around half my career focussing on C++, my current job is half C++ (generally just maintaining old programs, or writing new ones that use old libraries) and half higher level languages (generally preferred over C++).

I think the number of applications where C++ is an appropriate choice for a new project is a lot less now than it was 10 years ago.

Generally a higher level language (Java, C#, Python etc) should be looked at first in most cases, but I am sure C++ will have its niche for a while yet. Like games for example.

Cross platform could indeed be one of those niches, but just being native isn't that big a deal. Python and Java to give a couple of examples are just as compelling options in most cases.

Re: Hacker Poll: Is C++ the Language of the Future?

#10
post #5

I don't use C/C++ for the same reason I don't use assembly. There are superior languages out there that do a better job with everything important for building complicated software that is robust, easy to use, easy to maintain, fast and scalable. C++ is on its way out, it is still relevant and will be relevant for decades though. As is Cobol.

And yet fascinatingly enough, people still write Assembler code. (Especially with the popularity of JITs these days, a decent number of programmers know Assembler). And if perhaps you do not solve problems that C++ is designed to solve. That's find. Don't say that C++ is useless for that reason.
Post reply on HN