Hacker News new | ask | show | jobs
by rtomanek 1831 days ago
> interoperable C# code for the past 3-4 years or so, and it's been a joy. Night and day compared to Java, at least.

Can you give an example of this interoperability, please? Also -- what was the difference compared to Java that you noticed?

2 comments

I've mostly been writing backend code which pretty much works just the same whether deployed on Windows and Linux, that's interoperability by default.

With Java the issues came from elsewhere- it was less so the interoperability and more just how messy the whole ecosystem is and how there are some aspects of the language itself (such as the excessive verbosity and the way the standard library is structured) that kept mounting up as little annoyances over time. Kotlin wasn't really an option at the time, either.

It's interoperable by default, unless you add a Windows-specific library like WinForms.
eh, Windows Forms is the default GUI library, this means relying on third party libraries if you want to write cross-platform desktop apps.
There isn't really a "default" GUI library at this point. WinForms and WPF are both rather equal in support. (Arguably WPF gets far more updates than WinForms, most months.)

MAUI (in .NET 6+) will be a first party library for some types of cross-platform desktop apps.

The default "GUI" library for .NET Core has always been web.