• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months 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
          2
          ·
          2 months 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.

    • cm0002@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      2 months 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

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      A shame there is no real FOSS movement behind it (for what I know) it could do with some modernization.

          • jecxjo@midwest.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            I think that is probably due to the places where it shrines isn’t often a FOSS area. All my corporate use was for these massive windows applications. FOSS many times are small teams making very targeted solutions. Aside from Android, it feels like Java programmers are picking java out of personal skill. I don’t known what apps I use would be a good target for C#.

            • Valmond@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              2 months ago

              That’s probably it, it feels like a “corporate language” for most people, and probably is.

              I use C# with Godot and have done some stuff at work but it’s true it hasn’t really its place it seems. Never have I thought about C# as a solution if I wasn’t forced to use it.

              • jecxjo@midwest.social
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 months ago

                Godot is a great example. The vast majority of the code you write is single function, callback style procedures. Rarely are you creating a hierarchy of class interfaces or dealing with a large multifaceted infrastructure. You are writing what can be done in pretty mundane python.

                Rather, C# is there to grab the Unity community and they only really use it because idiomatic Unity may have bigger projects creating engines. C# still follows the HelloWorld complexity property of programing languages.

  • Dyskolos@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    I’m not a big M$-fan but I actually like c# a lot. Java not so much.

    I’m no pro though, I just guerilla-code in my spare time. But of all the languages it’s actually my most used. Besides PPL and ASM 😁

    • AstridWipenaugh@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I have 20 years programming experience and C# is one of my favorite languages. It feels so expressive and doesn’t get in your way nearly as much as Java does. I feel like I’m writing the code I want to write instead of writing the code someone from 30 years ago with a fetish for boilerplate wanted me to write.

    • bitchkat@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      C# is a great language but I’ll always choose Java because the ecosystem around it is so vast. Often times some client library you need has a c# port maintained by one guy and he hasn’t updated in years.

      • Dyskolos@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        OK you probably need it more often than I do. But so far, I always found anything I needed for C#. But I’m surely no measure of course, I’m a casual who only codes stuff i, myself, need. And just me/wifey.