2 ms·
Let's agree to disagree because in my practice: - Teams: Less experienced developers will use fancy features trying to be smart. Every subset of the language f
by hu3 6y ago
Let's agree to disagree because in my practice:
- Teams: Less experienced developers will use fancy features trying to be smart. Every subset of the language finds it way on Pull Requests I review.
- People change teams
- People change companies
- Third party code: It's not realistic to filter out libraries based on their use of the language. Who even has time to review that? Not to mention that high quality libraries are scarce enough that if you start to filtering out libraries you often end up with none.
And the code doesn't have to be "exotic or inscrutable" to be a negative. It just needs to be unnecessarily of high cognitive load for it to impact use of the language. I've seen Swift developers squint at Pull Requests trying to gasp what certain part of the code was doing. It ended up being needless sugar and in turn a bit of everyone's time was wasted.
That mindset of "just pick whatever part of the language suits you" is why C++ is what it is.