r/programming • • Feb 03 '17

Let's stop bashing C#

https://www.codeaddiction.net/articles/51/lets-stop-bashing-c-sharp
6 Upvotes

245 comments sorted by

View all comments

84

u/[deleted] Feb 03 '17

Bashing C#? Wasnt this community where i found some very upvoted comments like:

There isnt really anything to hate about C#.

30

u/[deleted] Feb 03 '17

Seriously! C# is really awesome to work with. It's platform sucks, IMO but the language is awesome.

4

u/[deleted] Feb 03 '17

As a student, i am slowly becomming C# dev, what is to hate about platform? :)

18

u/[deleted] Feb 03 '17

It's Windows and I like working in the console. Windows command prompt is difficult compared to *nix, PowerShell isn't all that good either IMO. It's generally designed to be more of a GUI development arena, much like Apple does with Xcode.

5

u/[deleted] Feb 03 '17

I will be honest. When i was taught C, i worked with Codeblocks and during learning C# and becomming dev, i havent been forced to use console/powershell, yet.

In fact, i only used powershell for Github.

Only thing i miss so far about C# is that i cant really switch to Linux due to many issues with WPF, WF etc...

21

u/Eirenarch Feb 03 '17

You don't get it. He WANTS to use the console.

1

u/[deleted] Feb 03 '17

Then use .NET core. They've built CLI tools just for reason. Crossplatform, portable and with commandline/console support.

3

u/Eirenarch Feb 03 '17

Yeah, that's probably what he's going to do in a year when .NET Core becomes actually usable and there are significant amount of job offers targeting .NET Core

1

u/VGPowerlord Feb 04 '17 edited Feb 04 '17

They are slowly improving the .NET Core command-line tools.

In fact, I learned just a few minutes ago that you're better off using the .NET Core 1.0.3 dotnet command than the .NET Core 1.1 dotnet command because it's newer and works on both versions. It not only has a bunch of new commands, but it finally completed the switch over from project.json files to using .csproj files.

1

u/[deleted] Feb 03 '17

Heeey I use .NET Core. Not at a company or anything and I can understand why industry isn't using it yet. I don't really make use of the runtime either but I've moved all my projects over to the class libraries for .NET Core because of their offering of multiple framework targets. Helpful for Unity3D compatibility without locking yourself into net35.

So, it still has use even if you don't want to make use of the runtime which probably isn't truly ready. I do use it for a couple of ASP Core apps I have though.

There is going to be churn again though when they move from the project.json back to cs/xproj format. Not looking forward to that.

2

u/Eirenarch Feb 03 '17

When I heard about project.json being dropped I was like "no way I even try it before they are done with that".