4 ms·
C# is a "standing on the shoulders of giants" kinda language IMO; they learned a lot from Java and evolved on it, mainly in terms of developer ergonomics and fe
by Cthulhu_ 5y ago
C# is a "standing on the shoulders of giants" kinda language IMO; they learned a lot from Java and evolved on it, mainly in terms of developer ergonomics and features that makes their life easier and less tedious. They had less of a design-by-committee team behind it as well, making development a LOT faster than Java, which feels like it's run by ancient, slow moving behemoth companies like Oracle and IBM. I mean I get it, they have tens if not hundreds of millions of LOC and thousands of developers working with it, they had to be conservative, but it didn't do the language much good, and after a few years, IMO C# raced past Java in terms of 'fun to work with'.
The downside is that until .NET Core, C# was a closed shop; by Microsoft, for Windows, and everything needs to be licensed. Whereas Java embraced more of the open source and freedom of choice mentality.
- pjmlp 5y agoMany .NET tools are still Windows only to this day. .NET is only open source up to the point that Azure related workloads, and iOS/Android development can be done from non-Windows platforms. Even for basic stuff like visualizing trace files, you still need to reach out to either Visual Studio proper or Perfview.
- kaba0 5y ago> C# raced past Java in terms of 'fun to work with'. I agree that language-wise, C# is definitely ahead. But just a heads up that I think it is also dangerously going towards the fate of C++ (or even already there) where no one person can hold the whole language in their head, and new but not learnt features might introduce problems down the line. For a language, what gets implemented is an important question but perhaps what doesn’t get is even more important, and Java (after the stagnation at the end of Sun) is a slow-mover but when they do, it is usually the best direction/approach. For an example, C# chose (even created afaik) async which is a good feature, but arguably a runtime language could have got away without any new feature and implement it in the runtime alone, a la project loom in java.
- UltraViolence 5y agoJava was open-source, but not free. Oracle tries everything to squeeze every last penny out of a company if they use Java or MySQL, including threatening with litigation. If Oracle can't make humongous profits from a product they simply drop it or run it into the ground.
- kaba0 5y agoThat’s why they completely open-sourced it and recently made even LTS-support of OracleJDK free of charge until the next LTS? Sure, they do make plenty of money from huge corporations still going with paid support for java 8 (I believe it will be supported till 2030 at least?!), like banks. But it ain’t a crime to ask money for proper services.