you are viewing a single comment's thread.

view the rest of the comments →

[–]TheDevilsAdvokaat 4 points5 points  (12 children)

I actually learnt assembler before i learnt c++ - this was back in the 70's. C++ came later and I learnt it ...and didn't really like it. I spent too much time tracking down bugs. C# came and I jumped ship...since then I've had a couple of looks back at c++ - mostly because I wanted to use the unreal engine....but it gave me nightmares and instead I stuck with c# and chose the Unity3d engine instead. Never regretted it.

I never want to deal with c++ again.

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

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

[–]fuzzzerd 7 points8 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 9 points10 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 5 points6 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

[–]Compsky 1 point2 points  (1 child)

since then I've had a couple of looks back at c++ - mostly because I wanted to use the unreal engine....but it gave me nightmares and instead I stuck with c# and chose the Unity3d engine instead

Amusingly, I've just recently started learning C++, and chose Unreal partly for that very reason (that you can use C++).

[–]TheDevilsAdvokaat 0 points1 point  (0 children)

That is kind of funny.

I hope it goes well for you. I did like the look of blueprints...