4 ms·
You may not think it's necessary but languages evolve and tend to add features. Unfortunately it' not practical to remove features from a mature language. This
by tony-allan 6y ago
You may not think it's necessary but languages evolve and tend to add features. Unfortunately it' not practical to remove features from a mature language. This might look like bloat.
I happily use a subset of Python including a smattering of new features when they add value to the task at hand. This set of features has evolved over time and makes me more productive and allows me to write clean simple code.
If you don't like a new feature just don't use it. There is no rule that says you should use any feature which doesn't help you write great code.
- scared2 6y agoI agree that you can write with just a subset of the language. But the problem arrises when you have to read somebody else's code. If there are too many features as opposed to "one and only one way to do it" you will end up with a source code that is unintelligible between two developers. Imagine it has M+N features that are mutually replaceable. The problem arises when you have a very good programmer that writes a complete program using the M features, and when you get programmer b who is also good but hasn't heard of the M features.
- JoeAltmaier 6y agoTrue. But it doesn't take 'too many language features' to make very different code. Two designers at my startup years ago approached our database object model from completely orthogonal directions. The programmers were both named Robert. So we called the approaches "Robjects" and "Bobjects".