Draco-lang / Language-suggestions

Collecting ideas for a new .NET language that could replace C#
75 stars 5 forks source link

Love/Hate/Miss list for C# #1

Open LPeter1997 opened 2 years ago

LPeter1997 commented 2 years ago

As an initial step, I thought a love/hate/wish list of C# would not be too bad. Plenty of subjectivity here, but oh well. Love/hate should not be taken too seriously, it could be called like/dislike, even nitpicks went into the hate category.

Love in C

Hate in C

Miss from C

Happypig375 commented 2 years ago

Switch expression: After the dreadful switch statement, the switch expression is a breath of fresh air.

The switch expression. It's horrible. I usually avoid it at all cost.

🦆

LPeter1997 commented 2 years ago

Switch expression: After the dreadful switch statement, the switch expression is a breath of fresh air.

The switch expression. It's horrible. I usually avoid it at all cost.

🦆

Yep, updated, meant switch-statement as the horrible construct :^)

Kuinox commented 2 years ago

Hate in C#

Attributes syntax. @Attribute(parameter) feel so much nicer.