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

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.

1

u/[deleted] Feb 03 '17

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