3 ms·
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
by groovy2shoes 10y ago
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.
- pjmlp 10y agoIt applies to most mainstream languages, even Python has subsets.
- groovy2shoes 10y agoI'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++.
- mmargerum 10y agoI would say Go is the first language since C where there is not really a subset to use. Every construct has a distinct purpose.
- groovy2shoes 10y agoI would say that's cute.