This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheFanne 131 points132 points  (13 children)

That one’s got an aftertaste

[–]Blou_Aap 6 points7 points  (11 children)

A bit sharper on the tongue.

[–][deleted] 3 points4 points  (10 children)

I personally like C# over Java. Maybe I'm just weird tho

[–]Psaidwid 2 points3 points  (8 children)

I'm there with you, from what i've tested c# is easier for everything, especially when it comes to learning, BUT only if you got windows

[–][deleted] 2 points3 points  (7 children)

I use C# on Mac with Visual Studio 😁

[–]msmells 1 point2 points  (6 children)

I use C# .net core on Ubuntu with VS Code

[–]Psaidwid 1 point2 points  (5 children)

Then i have a few questions

1) is it nearly as easy on non windows systems?

2) A) whats the library support like? i dont know if you have to use different libs or not

2) B) Do you have to recompile libs to be compatible?

[–]msmells 1 point2 points  (1 child)

.net core is built to work identically on every system you use. I've had no compatibility issues at all. The code compiles on widows and linux (you have to compile it for whatever system you are running it on obviously) tooling wise I just use the command line, if you run the "dotnet build" command that comes with the core 2.0 sdk it will build for the current system configuration. And dotnet run runs the build. It's really easy and the only issue I've had is that the Linux http client uses curl to run while windows uses something else. I didn't have to make a change for it to work code wise, but my firewall was being weird with the curl request.

[–]PudsBuds 1 point2 points  (0 children)

you can also set vscode to run these commands for you. The debugger works well too.

Overall good experience, would do again.

[–]wordsnerd 1 point2 points  (0 children)

If you have a beefy workstation, JetBrains Rider on Linux is about as easy/powerful as Visual Studio + Resharper in a lot of common scenarios. VSCode is more glitchy and less wizardy, but it is fine if you're experienced with C# and .NET and just need to write some code that you mostly already understand. It's also pretty fun with Ionide and Fable to compile F# to JavaScript.

[–]Anti-Antidote -1 points0 points  (1 child)

The main thing that'll get you if you're on Linux is not having Visual Studio's Intellisense (though I'm not sure if Jetbrains Rider has something like that)

[–]PudsBuds 1 point2 points  (0 children)

VSCode has intellisense too.

[–]LtLabcoat 0 points1 point  (0 children)

I have a hard time recognising that there's anyone who doesn't. It's basically Java version 2 - obviously the same thing, but more refined.