3 ms·
Several things have been removed from C++, including auto_ptr, exception specifications, unary/binary_functions, trigraphs.
by larschdk 8y ago
Several things have been removed from C++, including auto_ptr, exception specifications, unary/binary_functions, trigraphs.
- jlebar 8y agoI think the extreme difficulty and indeed controversy that the committee stared down when removing trigraphs, which are a useless feature that the vast majority of C++ programmers will never once encounter, speaks well to GP's point that C++ is very conservative in how it removes features. Maybe not JS-level careful. But still.
- anyzen 8y agoOf course, JS has a problem in this regard that while it looks like a language, it is also a (de facto) assembler for the browsers. So disabling anything in JS will break lots of sites which will never be fixed. However as far as programming is concerned, many things have been deprecated through transpilers and linters (for example "==" throws a warning in ESlint).
- hellofunk 8y agoMost legacy cpp features and language semantics will never be removed, despite what many prominent voices in the community think.