• Dyskolos@lemmy.zip
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    7 hours 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
      2
      ·
      7 minutes 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.

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    78
    ·
    11 hours 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.

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

              • Rikudou_Sage@lemmings.world
                link
                fedilink
                arrow-up
                1
                ·
                9 minutes ago

                QML is such an awesome UI language, the only thing (that I know of) that comes close is Jetpack Compose.

                The flavour of JavaScript QML uses is very different from regular JavaScript, it’s literally a glue language and any significant non-UI logic should be done in C++.

                And Qt C++ is very different to most other C++ framework (or how people usually write pure C++), it feels much more Java-inspired.

                Anyway, it really is a great UI toolkit if you want something powerful, cross-platform and efficient.

    • cm0002@lemmy.worldOP
      link
      fedilink
      arrow-up
      30
      ·
      10 hours 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
      22
      ·
      10 hours 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
        13
        ·
        9 hours ago

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

      • Draces@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        9 hours ago

        Does it get a bad rap outside of this meme? I’ve only heard praise. It’s by far my favorite language

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        I’ve used many languages/platforms in my 30 years of programming (take that!), including Visual Basic, C, C#, Java, Objective-C and C++. I agree that C# is the best but not by much. They all do pretty much the same things - if one language lacks something that other languages have shown to be beneficial, that something tends to get incorporated in a future update in some form or another, and their glaring weaknesses tend to get corrected as well (like when Objective-C mostly did away with the need to explicitly release fucking everything).