|
|
|
|
|
by Quothling
637 days ago
|
|
I think C# is a perfectly fine language, but as you say it's not really groundbreaking or unique. It's probably not even my top-five choice for general purpose language in 2024 but it's obviously gotten (is still getting) "the job done". If we're to praise Anders Hejlsberg's work I would personally pick Typescript above C#. Just look at how influential Typescript has been for global development in the previous decade. |
|
* Expression Trees and LINQ (still a pretty unique feature)
* async/await/yield syntax, adopted later by many others
* get/set property methods
* null coalescing (??) syntax
* extension methods and partial classes
Even if C# was not the originator of some of these, it definitely played a key role in popularizing them and offered a good reference syntax and semantics that others could draw inspiration from.
C# also has great synergy with the F# language which is so unique and innovative that it might seem 'alien' at times. :-) I think some of the C# features appeared in some form in F# first (citation needed :-).