• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 days ago

    I’ve actually found C# quite pleasant to develop with, so long as I didn’t have to worry about targeting non-Windows platforms.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          The standard .NET C# compiler and CLI run on and build for Windows, MacOS, and Linux. You can run your ASP.NET webapps in a Linux docker container, or write console apps and run them on Linux, it doesn’t matter anymore. As a .NET dev I have literally no reason to ever touch Windows, unless I’m touching legacy code from before .NET Core or building a Windows-exclusive app using a Windows app framework.

        • Wiezy Krwi@programming.dev
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          4 days ago

          The sdk and runtime are available on all operating systems. I have used nvim on Ubuntu (wsl) to write and execute C#.

          • Ziglin (it/they)@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            4
            ·
            4 days ago

            See all Operating Systems is a steep claim, that is how I originally misunderstood the meaning of fully cross platform.

            I’m relatively certain that it won’t run on DOS or an Arduino, thereby instantly disproving the ‘all operating systems’.

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        5 days ago

        True, but what I’m really talking about is the unbeatable user experience of having an application that looks and feels as if it were a native Windows application, because it is and has that first-class platform support straight from the vendor.

        With that said, most new cross platform applications today are probably more like electron or Web apps.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          Ok, there’s no such thing as native Windows apps for Linux, but there are cross platform GUI frameworks like Avalonia and Uno that can produce apps with a polished identical experience across all platforms, no electron needed

            • ChickenLadyLovesLife@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 days ago

              Good lord, I’ve never seen anyone say this in public. I used Qt Creator for a couple of years and I found the combination of C++ for under the hood and Javascript for the UI to be a fantastic way of ensuring a nearly nonexistent base of developers who could competently do both. Maybe they grow on trees in Finland, I dunno. And maybe you’re talking about some other “Qt”, I also dunno.

              I’ve done C# and Java extensively as well and I would never choose Qt over them. I might choose Qt over Objective-C, however.

    • cm0002@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      Yea this was a crosspost and also just a meme, but C# is my fav

      And really cross-platform has come a LONG way…just as long as you don’t need UI on Linux lolol

    • Hugin@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      Yeah C# gets a bad rap. I spent a decade developing in C++, and Java before switching to C# because of program requirements. Now I never want to go back.

      • Arghblarg@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        C# development was spearheaded by Anders Hjelsberg, one of the brains behind Borland Delphi/Object Pascal.