News for hackers. Stuff that matters.
Re:C++11 FAQ by groovy2shoes on Thursday January 26, 2017 @01:27PM (#13493846)
One of C++'s most glaring problems is that everybody only ever uses some subset of some version of the language, but you still need to know basically the entire massive, monstrous language because not everybody uses the same subset and you need to be prepared for anything. On top of that, you're lucky if your employer or potential recipient of contributions (e.g., FOSS project) or whatever has actually codified the subset they want to you to use: most of the time, you need to infer the allowable subset from the existing code.
Re:C++11 FAQ by mmargerum on Friday January 27, 2017 @10:38PM (#13504736)
I would say Go is the first language since C where there is not really a subset to use. Every construct has a distinct purpose.
Re:C++11 FAQ by groovy2shoes on Wednesday February 01, 2017 @02:29AM (#13539036)
I would say that's cute.
Re:C++11 FAQ by pjmlp on Thursday January 26, 2017 @02:18PM (#13494348)
It applies to most mainstream languages, even Python has subsets.
Re:C++11 FAQ by groovy2shoes on Thursday January 26, 2017 @03:21PM (#13494935)
I've written code in over 50 different programming languages at this point (though only about a dozen or so professionally, including Python), and the only languages where I've ever been asked or required to work with a subset in lieu of the full language have been C++ and Perl. I've never worked on a project or for a company that allowed unrestricted use of all of C++.