C# 8.0 came out 6 years ago at this point, and it’s syntax is aping that of Javascript’s ES6 update which is 10 years old, which was in turn aping that of earlier functional languages. There are a lot of engineers who have learned how to code using predominantly modern syntax, so the one on the right is “textbook” to them.
And being textbook isn’t a reason to keep doing something forever. The syntax on the left is overly verbose and leaves more room for unexpected behaviour-changing lines of code. The syntax on the right is concise and scannable in a way that doesn’t require jumping back and forth between lines to follow.
C# 8.0 came out 6 years ago at this point, and it’s syntax is aping that of Javascript’s ES6 update which is 10 years old, which was in turn aping that of earlier functional languages. There are a lot of engineers who have learned how to code using predominantly modern syntax, so the one on the right is “textbook” to them.
And being textbook isn’t a reason to keep doing something forever. The syntax on the left is overly verbose and leaves more room for unexpected behaviour-changing lines of code. The syntax on the right is concise and scannable in a way that doesn’t require jumping back and forth between lines to follow.