Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All sane C++ codebases must use a defined subset of the language. Google's is one that works for them, with some pretty strong standardization. It's a good set of compromises. But you won't get far programming in it if you don't know the broader semantics of the language.

I didn't do C++ from about 2003 to 2013. When I came back I was delighted. It's so much better.



I liken C++ (and other "industrial" languages, like PHP), to "advanced" tools, like the specialty tools and brands, that only professional mechanics know, like OTC. You won't get them at Home Depot.

The language definitely has its niche, and I am glad to see it not being used for standard GUI programming, anymore.

But for that niche, there's nothing better, and it's a big niche.


What can PHP do that other less vilified languages can't? What is its "niche"?


Please, everyone is supposed to be slagging C++ (and me), here. I'm sure there will be rich opportunities to dis PHP, in other threads.


You are right, my apologies. It was just so surprising a mention I couldn't stop myself.


My experience from 1990 was it was the perfect language to add a bit of server-side logic to some raw HTML.

So the niche (for me) was a nice transition from something I understood (HTML) to something new (dynamic webpages).

In that way it is similar to batch files / bash scripts.


If only unique_ptr makes the whole experience so much better




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: