• douglasg14b
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Type system rigidity, I started using TypeScript a lot over the last few years with FE work. TS is so much more flexible and expressive. I really wish that I could express constraints in C# as fluently as I can in TS

    Enums really need more flexibility, unions, discriminated unions, left hand implicit type, better value support…etc

    System.Text.Json still sucks, it’s not greedy, no global setting , non-sane default,no expando support…etc it’s awful to use.

    Unstructured data in general is an absolute pain to work with.

    Composability of tests is still super painful and verbose. Dynamic test generation is awkward and unergonomic. After doing testing and other languages that let you simply compose tests imperatively, C# testing is definitely painful.

    IMHO C# is an acceptable language with an absolutely fantastic framework.

    I love C#, but these are my primary gripes