3 ms·
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
by cmrdporcupine 4y ago
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.
- ChrisMarshallNY 4y agoI 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.
- TremendousJudge 4y agoWhat can PHP do that other less vilified languages can't? What is its "niche"?
- ChrisMarshallNY 4y agoPlease, everyone is supposed to be slagging C++ (and me), here. I'm sure there will be rich opportunities to dis PHP, in other threads.
- TremendousJudge 4y agoYou are right, my apologies. It was just so surprising a mention I couldn't stop myself.
- gridspy 4y agoMy 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.
- VHRanger 4y agoIf only unique_ptr makes the whole experience so much better