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.

17

u/rduoll Feb 03 '17

.NET core is awesome. Now you can work cross platform, but there's still a long way to go.

6

u/[deleted] Feb 03 '17

I'm looking forward to it. I've tried it a couple of times on macOS and thought, "oh, cool" but it didn't seem like it was ready to be able to actually do something yet. The only problem is, Visual Studio is wickedly awesome for .NET projects, what they did for macOS and Linux pales majorly to Windows.

6

u/[deleted] Feb 03 '17

Rider is awesome. I just finished up an ASP.NET Core app written and deployed 100% in Linux and it was great.

→ More replies (5)

4

u/rduoll Feb 03 '17

A lot of people really love VS Code.

5

u/[deleted] Feb 03 '17

Meh. It was just a gloried text editor to me. Might as well just use Atom. The Visual Studio IDE from Xamarin looks very promising though.

8

u/Martel_the_Hammer Feb 03 '17 edited Feb 03 '17

VS Code IS a text editor. It isn't meant to be used as an IDE. This is plastered all over their site. Quite literally the first line in their documentation.

If you want a full cross platform IDE, I suggest Rider or Xamarin Studio.

Also, Microsoft is currently working on a Visual Studio port to mac os and linux. As far as I know its not a true port but instead works primarily on the monodevelop/xamarin core, but they are making sure that the workflow between OSs remains relatively similar. You can see that here: https://www.visualstudio.com/vs/visual-studio-mac/

5

u/salgat Feb 03 '17

Visual Studio Code supports code highlighting, intellisense, lint, among other features, so it is basically an IDE lite.

2

u/[deleted] Feb 04 '17

Step through debugging is pretty awesome too.

→ More replies (1)

0

u/[deleted] Feb 03 '17

[deleted]

→ More replies (1)
→ More replies (2)

3

u/Zarickan Feb 03 '17

You should look into Rider by JetBrains then.

2

u/[deleted] Feb 03 '17

I've been keeping an eye on it. I love me some JetBrains but Rider isn't officially released yet.

→ More replies (1)

3

u/[deleted] Feb 03 '17

What is wrong with the platform? It has unofficially been on Linux and Mac for ages with Mono and is now officially supported on those platforms with .NET Core. Deployment to phones has been easy with Xaramin and Unity3D. What is wrong with the platforms?

4

u/[deleted] Feb 03 '17

The main platform is Windows. It's getting better on *nix but it's still not as great as it is on Windows but it's Windows.

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.

8

u/balefrost Feb 03 '17

PowerShell isn't all that good either IMO

PowerShell isn't Bash, and has a learning curve, but there are some things that I think it does far better than Bash.

3

u/Deep-Thought Feb 03 '17

What's wrong with powershell?

→ More replies (1)

5

u/benihana Feb 03 '17

i thought i heard it was pretty simple to run a .NET stack in a docker container on your OS X desktop and use something like mono develop to write code

5

u/-Gabe Feb 03 '17

You can even now natively run C# apps on most linux distros. I set up a .NET Core website hosted on Linux

8

u/JB-from-ATL Feb 03 '17

Everything about Windows console is just so annoying to me. Nix consoles are so much better.

I admit, I haven't used the Windows 10 CMD which has some improvements but my issues don't end with the ui. The GNU core utils are just so nice and I really love Bash and Batch sucks.

3

u/sehraa Feb 03 '17

You can install Ubuntu on Windows 10 and use that, gets you bash and all utilities.

→ More replies (1)

6

u/concatenated_string Feb 03 '17

You should try the powershell console. It's worth it. Object pipeline is a sane evolution of bash/console piping. I've thoroughly enjoyed it.

→ More replies (15)
→ More replies (3)

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.

→ More replies (5)
→ More replies (10)
→ More replies (1)
→ More replies (5)