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

I have mixed views on this. We’ve gotten a lot of good with the bad. I think “C#, the Good Parts” would be a much thicker book than “JavaScript, the Good Parts”


I agree. Most things that got added are good.

I don’t like that there are 3+ ways of checking if a value is null tho.


There’s like 3+ ways to construct an object too.


Have you seen cpp?


That in itself is a critique of C#


Maybe, it's not my favourite language, but it seems basically fine. A new version drops, my five, ten year old code largely still just works and maybe there are improvements I have a use for in new code.

Some of the remaining warts are because it is wedded to the .NET CLR, so if the CLR says you can't do that then, too bad C# can't do that. It would not be practical to do anything about those.




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

Search: