by throwawa66 · 6y ago · 0 comments
I understand that it may cause issues to new learners, but overall, what of them do you consider bloat?
Not saying C# is bad, thats what you all seem to understand though.
Good luck to you all
C++ is usually taken as a language with too many features but really it just has a few very flexible features and people abused those features to do all kinds of metaprogramming. As C++ has been adding more native metaprogramming idioms it has actually been getting simpler to code in.
If you want to see simplicity that stood the test of time, look at Smalltalk or Lisp.
I have seen a function which incorporated all new language features of that language version just because the dev could. A simple for loop would have made the same work. The reviewer failed here totally. Readability, Simplicity and consistency in the code base are a thing when reviewing.
Preventing this is a duty of the code reviewer and the team.
However, only direct experience will make you reconsider.
I’ve seen a discriminated union implementation in C# the other day and was repulsed.