3 ms·
> Some people even feel C++ keeps adding too many new features too fast. It's not so much that they keep adding features, but that they (almost?) never remove
by eru 6y ago
> Some people even feel C++ keeps adding too many new features too fast.
It's not so much that they keep adding features, but that they (almost?) never remove any.
- pjmlp 6y agoPython 3 has shown the world what happens when that is done without bringing the ecosystem along.
- eru 6y agoHaskell has also removed some features over time.
- pjmlp 6y agoHaskell or GHC? If you mean GHC, the language version is whatever the pile of configuration flags at each source file ends up meaning, some of them even contradict themselves. Great for language research, which is Haskell main purpose in life, hardly a good idea for getting industry love.
- eru 6y agoI am talking about Haskell, specifically the removal of 'n+k patterns' and 'monad comprehensions'. About GHC: I think their approach with pragmas is great and something for other languages to emulate. It's also great in production, with the caveat that you might want to restrict that mechanism to surface level changes only, and nothing that changes the intermediate format.
- anaerobicover 6y agoAre there many other programming languages that remove features?
- eru 6y agoPython 3 made some backwards incompatible changes. Haskell removed some features over time, as well.