top 50 comments

sorted by: hot top controversial new old
[–] 106 points 2 years ago (31 children)

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

  • source
  • hideshow 31 child comments
  • [–] 53 points 2 years ago (17 children)

    It's fully cross platform with .NET Core and later.

  • source
  • parent
  • hideshow 17 child comments
  • [–] 6 points 2 years ago (8 children)

    What does fully cross platform mean? It sounds very vague and a lot like an exaggeration.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 15 points 2 years 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.

  • source
  • parent
  • [–] 4 points 2 years ago

    Well, I'm currently writing a service and frontend, both in C# (Blazor for the UI), and using docker-compose to build and deploy them to a Raspberry Pi running Linux. So not only cross-platform, but cross-architecture as well.

    This is not a new thing either. Since .NET Core was released almost 10 years ago, it has supported cross platform development.

  • source
  • parent
  • load more comments (6 replies)
  • [–] 3 points 2 years ago* (5 children)

    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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 16 points 2 years ago (4 children)

    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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 9 points 2 years ago* (3 children)

    Qt is my favourite, though it's not .NET.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 12 points 2 years ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 2 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • I suppose Qt's cross-platform aspect is a big checkmark in the plus column. My own opinion of Qt is probably colored by the fact that I was forced into it against my will and that the Finns who initially wrote the app were unhelpful and downright hostile to my attempts to customize it in ways that their customization framework did not support.

  • source
  • parent
  • [–] [S] 35 points 2 years ago (3 children)

    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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 27 points 2 years ago (6 children)

    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.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 11 points 2 years ago (1 child)

    I have used many languages in my 25 years of programming. C# is the best.

  • source
  • parent
  • hideshow 1 child comment
  • 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).

  • source
  • parent
  • [–] 84 points 2 years ago (2 children)

    Poor Visual J# (literal Microsoft Java) isn't even in the picture

  • source
  • hideshow 2 child comments
  • [+] 68 points 2 years ago* (last edited 6 months ago) (6 children)
  • [–] 10 points 2 years ago (1 child)

    Microsoft Java is one of those cases where MS got the "extend" phase so well executed that they didn't even need to finish the plan.

    That said, the language is only good if you insist on using either it or Java. And the ecosystem around it is really, really bad.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (2 replies)
    [–] 65 points 2 years ago (14 children)

    C# is better than java just because it doesn't have as much brain rotting "DesIgN PaTTeRnS" gurus

  • source
  • hideshow 14 child comments
  • [–] 7 points 2 years ago (11 children)

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

  • source
  • parent
  • hideshow 11 child comments
  • [–] 21 points 2 years ago (7 children)

    What do you mean? The entire stack is open source.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 8 points 2 years ago (6 children)

    I'm just hoping for a more thriving community behind it.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 3 points 2 years ago (4 children)

    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#.

  • source
  • parent
  • hideshow 4 child comments
  • load more comments (4 replies)
  • load more comments (1 reply)
  • load more comments (3 replies)
  • [–] 31 points 2 years ago (6 children)
  • [–] 10 points 2 years ago (5 children)
  • [–] 20 points 2 years ago (4 children)

    TypeScript?

    It is Microsoft JavaScript.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 2 years ago (3 children)

    TypeScript is actually pretty nice, it'd be JScript instead.

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (1 reply)
  • [–] 22 points 2 years ago (2 children)
  • [–] 3 points 2 years ago (2 children)

    There is a third brother nobody ever even mentions ... He is also named after an island

  • source
  • hideshow 2 child comments
  • load more comments (1 reply)
    load more comments
    view more: next ›