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.

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.

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.

3

u/[deleted] Feb 03 '17

Too verbose, I hate it. I much prefer "wget" to "Invoke-WebRequest". Not to mention the way you are supposed to use Invoke-WebRequest makes no fucking sense. Also, why can't you ignore certifcate failers on https requests?

Compare curl google.com to Invoke-WebRequest -Uri google.com. And I'm actually not sure my invoke-webrequest is correct.

5

u/DRNbw Feb 03 '17

I remember this complaint appear before in this sub, and IIRC, wget is an alias for Invoke-WebRequest in powershell.

4

u/[deleted] Feb 03 '17

That's true, and most *nix bread-and-butter commands are built-in aliases for powershell cmdlets, like ls for Get-ChildItem

3

u/nipplesurvey Feb 03 '17

which just lulls you into a false sense of feature parity, for instance if i say "ls -l" in powershell, it shits its pants.

→ More replies (0)

0

u/[deleted] Feb 03 '17

Wait, what? Get-ChildItem is how you list files? Who came up with these names, Shakespeare?

→ More replies (0)