• EnderMB@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    5
    ·
    5 months ago

    IMO C# is at the point where Java can probably just die. I don’t see a point in keeping Java when C# is a viable option in many use cases.

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      24
      arrow-down
      4
      ·
      5 months ago

      I’m sure Microsoft will be happy to know their EEE strategy is finally paying off, only two decades late.

      • Blue_Morpho@lemmy.world
        link
        fedilink
        arrow-up
        23
        arrow-down
        1
        ·
        5 months ago

        Oracle owns Java and has made its proprietary hold on the language clear.

        There are no good guys here.

      • EnderMB@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        6
        ·
        5 months ago

        It’s attitudes like this that made me choose C# as the language I wanted to use professionally after graduation.

        Having grown up in the Slashdot era where people would be childish, post about Micro$oft, and parrot EEE, all while the .NET Foundation consistently put out great tooling with a mature community that actively wanted to help you learn the language/framework, the choice was simple.

    • GissaMittJobb
      link
      fedilink
      arrow-up
      20
      ·
      5 months ago

      I don’t think this line of reasoning is strictly speaking correct, but assuming it was, then I think it would follow that Kotlin exists and as such C# does not need to be kept around.

    • audiomodder@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      5 months ago

      Compiled Java is still cross-platform. It’s been a few years for me, but when I last worked in C# it was a giant PITA to work on it in Linux or MacOS. I hope it’s gotten better.

      • vithigar@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        5 months ago

        .NET (not .NET Framework) is cross platform and can be compiled into native binaries on a variety of platforms. There is however the wrinkle of not all the libraries within .NET being supported on all platforms. Most notably, everything involving a graphical UI is Windows only.

        The most well known cross platform .NET project you probably have heard about is Jellyfin.

      • JustAnotherRando@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Modern .NET (i.e. .NET Core and later) is cross platform. In fact, .NET APIs now are routinely run in containers not based on Windows.

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        5 months ago

        It’s a lot better with some notable exceptions. First, .NET Core is multiplatform by design, so it is by default quite portable. The .NET Core CLI is extremely powerful and means a CLI workflow is totally feasible (and also simplifies CI pipelines). The new “multiplatform” application framework, MAUI, runs on Windows, Mac, iOS, and Android, but not Linux/GTK/QT etc. You can maybe attribute this to the design philosophy of abstracting native controls, of which “Linux” itself has none, but either way it’s useless on Linux. Third party frameworks like Avalonia do work very well on Linux.