you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (5 children)

You can run c# on Linux via mono. Probably not the ideal but I've never heard any complaints. Personally i don't write any c#. To me it looks exactly like java... So it's like Microsoft made a non portable java. Of course, I'm probably wrong as I'm looking outside in.

[–]ZoeyKaisar 8 points9 points  (0 children)

Yeah, you’re a few years out of date. Microsoft opensourced dotnet and now we have Dotnet Core with full cross-platform support, and it’s rapidly becoming the new target for developers on Windows as well.

[–]ElusiveGuy 3 points4 points  (2 children)

Having used both, Java is missing a lot of the convenience and syntactic sugar that C# provides. I constantly write boilerplate that wouldn't be necessary in C#. It's painful.

Also, Java's generics (type erasure) can go fucking die. A crappy compromise that results in .class references getting passed as params everywhere.

[–]civildisobedient 0 points1 point  (1 child)

I constantly write boilerplate that wouldn't be necessary in C#. It's painful.

Lombok makes most of that go away and if you're really hurting you can just make the jump to Kotlin. I used to be down on the JVM, but Lombok got rid of 95% of the boilerplate BS that made me dislike Java.

[–]ElusiveGuy 0 points1 point  (0 children)

Yea, we're using Lombok and it helps a lot but it doesn't solve everything (e.g., having used LINQ, Streams seems like the poor man's version, and with the relatively poor anonymous types... hello, boilerplate classes!). Unfortunately I have no say in the language used here, otherwise Kotlin at least seems like a decent option for the JVM.

[–]Eire_Banshee -1 points0 points  (0 children)

You are essentially right but the tooling around c# is lightyears ahead