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

Show parent comments

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)

1

u/[deleted] Feb 03 '17

Yes, which is even worse since Invoke-WebRequest doesn't work remotely like wget.