• Mihies
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    IDisposable is not that at all. At least not implicitly. It’s a convention, one has to call Dispose to do anything. Edit: I might have misunderstood scope_exit 🥹

  • cub Gucci@lemmy.today
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 days ago

    There are ugly languages. There are unusable languages. There are languages with nuances beyond comprehension.

    And there’s csharp which for some reason tries to be all of these things.

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 days ago

      No language is perfect and they all have their quirks…

      But, even though Microsoft made it, C# is one of my favorite languages to write in. And to be 100% honest about it, I’m not sure I entirely know why I enjoy it so much. I’ll have to give that some thought!

      • BehindTheBarrier
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        I wonder if it’s similar to the reason why i find it ok to work in, it’s feels similar to a python just with brackets and static types. A lot of the bothersome work is hidden from you, at least with .NET.

        One does get annoying things, and a lot of “you should just know to do this” for things you don’t really understand or encounter naturally, but that’s also something in other languages.

      • cub Gucci@lemmy.today
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        2 days ago

        Don’t allow your compulsions to decide for you. Csharp is shit and deep down you know it

        • Mihies
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 day ago

          No, C# is a good language. Usually it’s shit for people not understanding it. So, what exactly makes you say it’s shit?