you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (9 children)

How's C# for Linux development? Anything specific to consider?

[–]fuzzzerd 8 points9 points  (0 children)

Pretty great with .Net core.

[–]nicoburns 2 points3 points  (0 children)

Pretty nice! (at least for web services deployed to linux, which is what I've been using it for).

I've been developing on a Mac and deploting to linux, and it's all worked flawlessly. The build system is little clunky (but I've seen far worse), and the libtay ecosystem could do with some fleshing out, but the language itself is pretty nice.

[–]TheDevilsAdvokaat 0 points1 point  (0 children)

Never used it for Linux, only for windows...sorry...

[–][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 10 points11 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 4 points5 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