Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I'd like to see this too...

We're discussing Windows and all its ad-ware/invasive changes, and someone brings up C# without giving a real explanation or examples.

The last few C# versions brought primary constructors, collection expressions, records(!), tons of Span<T> improvements/support, etc. I just flicked through the list, and nothing that stuck out to me as being bloated.

The main bloat C# has is older stuff that you really shouldn't be using anymore (e.g. ArrayList, dynamic, Thread, delegate keyword, etc).



"Bloat" is just shorthand for "things I don't like"/"things I don't find useful". It has no other meaning. Avoid using it where possible.


> We're discussing Windows and all its ad-ware/invasive changes, and someone brings up C#

I brought up C# because the article discusses a Microsoft Windows design philosophy that I feel is also reflected in their approach to C#. It’s a Microsoft thing.

I agree with you that the examples you mention were great additions to the language! But I still think the C# design team has some seriously screwed up priorities. My theory is that this one year cycle they are on is hampering their ability to make changes (like sum types) that require more than a year of work.


Could you give some examples of the bloat they've added to C# that represent their "seriously screwed up priorities" aside from not adding Sum?


See the links I listed above. None of those features solved a language problem as large as the lack of sum types. It baffles me that they even spent time on them before providing a feature that is in such high demand (and has been for more than a decade).

I understand that you shouldn’t always give users what they ask for - but this is something that has picked up steam in other languages because it’s actually useful and makes code bases easier to maintain.


You're projecting your strong opinion on others.

I've used C# since 2008 for business software and high performance computing. I've not missed sum types at all. Most of what was added is something I see a lot of value in. I don't like that it, by design, obsoletes some older parts of the language, but that's about it.

I'm now using C# on linux almost exclusively. No complaints from me!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: