5 ms·
I concur! Coming from Java world to .NET/C#, I was initially very sceptical of Microsoft's offering. Now, I expect to be paid a heavy premium if I ever have to
by harshalizee 4y ago
I concur! Coming from Java world to .NET/C#, I was initially very sceptical of Microsoft's offering. Now, I expect to be paid a heavy premium if I ever have to go back to Java.
Also, there's a ton of world class third party tooling around .NET that really makes everything better.
Shout-out to LINQPad for saving me literally 100s of hours on testing, queries and quick POCs.
- abraxas 4y agoAs a long time Java professional who hasn't experienced .NET what would you say are the biggest advantage points of .NET vs a typical modern Java setup with say, IntelliJ, SpringBoot, maven/gradle etc?
- Kwpolska 4y agoI have very little experience with Java, but I tried building a web app with Spring Boot once. Figuring out even the most basic things, like how to get server-side templates to work, took forever. Many things documented around the web just flat out didn’t work. I got it to a workable state though. In the modern ASP.NET Core, things are much better organized and documented. The framework has far less magic involved. No magically auto-generated repositories, no @Autowired magic, and far less use of annotations. Things just make more sense. As for the language itself, C# is nicer in many regards. Even basic things like properties instead of hand-written or Lombok-generated getters and setters, or operator overloading where it makes sense, lead to clearer code. Regarding IDEs: I hate Visual Studio, but JetBrains Rider is basically IntelliJ for C#.
- runevault 4y agoIts literally IntelliJ for c# lol. Same base system just tied into the Roslyn compiler chain and using their proprietary .NET debugging system instead of whatever they use for the JVM. And while I still use VS at work on personal projects (in both c# and f#) I've switched fully over to Rider and enjoying the experience a great deal, so anyone used to IntelliJ can get a pretty comparable experience from their IDE right out.
- kaba0 4y agoNot sure when did you try it out, but there are things like Spring Initializr where it really is just clicking together your initial setup. Also, there are plenty of old, no longer working code samples on the internet for spring, but the official documentation is really great and should be preferred over some random blog that likely 6 years old already.
- Kwpolska 4y agoI tried Spring Initializr. I made the mistake of picking human-friendly Freemarker templates instead of the XML abomination that is Thymeleaf, and things went to hell. And can you show the nice official documentation? All my searches back then pointed me only at blogs and stuff. All of them full of outdated advice — for example, the version I started with was one of the first to change the default file extension for Freemarker from `.ftl` to `.ftlh` for some invalid reason, but none of the online blogs were updated for it, I found out after a few hours of trying out random things when I stumbled upon the change log for that release. (The reason was allegedly “security”, but what stops them from disabling the insecure features and keeping the extension?) Another thing that was woefully under-documented was the default security thing, it also took me forever to figure out how to get a login page showing and working.
- bob1029 4y agoFor b64 conversion, dumping SQLite to CSV (or vice versa) and other BS mapping tasks, I still reach for LINQPad pretty much every time. Loading all of VS2022 is not fun if you just need to turn an image file into a stream of base64.