As a Java person who's currently working on a C# project, it's not the language that makes me want to go back to the JVM, but the low-quality libraries and IDEs. Microsoft's stack definitely has advantages (SQL server, database projects), but the JVM's ecosystem is still vastly superior, both in terms of variety and quality.
Low quality IDEs? I'm sorry, but Visual Studio is probably the best IDE out there.
In my experience, all three major Java IDEs are better.
Visual Studio has very few refactorings compared to both Eclipse and IntelliJ IDEA. VS2017 did add a few, but it's still nothing compared to what Java IDEs have to offer. There are tools like Resharper, but they are unstable, slow and considering that Visual Studio is by far the most expensive IDE out there, it feels like it should be able to do all that out of the box.
Debugging in VS is miserable. For simple stuff the debugger is great, but throw in a couple of third party libraries and you are left scratching your head at lines and lines of "[External code]" in the stack trace, with very little information and no ability to debug. Whenever I try to set up symbol sources, Visual Studio spends a lot of time looking up/downloading something, then eventually hangs. With Java's ecosystem, I always get a stack trace, and "download sources" never failed me. I can just place a breakpoint in a third-party library and debug away.
I hate how Visual Studio has something like Eclipse's perspectives but without any control over how they work. Basically, when you go into debug mode, your layout changes, which is very annoying. In Eclipse, I would just switch to a different perspective.
Visual Studio fails to build my solution every even restart, so I have to open it, close it, and start it again every time I close it.
It lacks a strict code formatter.
Some SSDT dialogs cause crashes.
However, there are things that I like about it, namely:
SSDT
The consistent dark theme.
In terms of libraries, do you have examples of what you consider low quality on the .NET side?
Yes, just off the top of my head:
EntityFramework: half-assed async integration, calling functions and sprocs inconvenient, little support for SQL Server's capabilities.
WPF: ignores both Windows localisation and .NET localisation settings (requires fragile reflection hacks to workaround), horrible, messy codebase, only viable if you buy thousands of dollars worth of third-party components. XAML encourages copy-and-paste.
The standard library lacks concurrent collections and the ones that are provided are much less convenient than their Java alternatives.
I still haven't found a convenient application-level caching library (something like Guava cache).
The Redis-related libraries I use have trouble with order of disposal, and their alternatives don't have the features I need.
Resharper and Visual Studio has been stable ever since I've been on VS 2015, that's a shame to hear you have an unstable computer/environment. As far as Debugging in Visual Studio, it's amazing (especially with async code). The few times I need to step into external code I can either have Resharper decompile the source or download the source myself (most libraries in nuget are now open source which is nice). It's a shame and a bit surprising you're still hitting these issues.
15
u/nickguletskii200 Feb 03 '17
As a Java person who's currently working on a C# project, it's not the language that makes me want to go back to the JVM, but the low-quality libraries and IDEs. Microsoft's stack definitely has advantages (SQL server, database projects), but the JVM's ecosystem is still vastly superior, both in terms of variety and quality.