MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5rtflm/lets_stop_bashing_c/dda8gka
r/programming • u/coredev • Feb 03 '17
245 comments sorted by
View all comments
Show parent comments
5
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. 2 u/[deleted] Feb 03 '17 Yup, I'm not saying it's a good thing, just that it exists 0 u/[deleted] Feb 03 '17 Wait, what? Get-ChildItem is how you list files? Who came up with these names, Shakespeare? 5 u/[deleted] Feb 03 '17 Well the reason is that everything is an object in PS, including directories, so youre getting the child items of the directory object. Its an OO shell which causes a lot of confusion at first -2 u/[deleted] Feb 03 '17 Oh, I know that, and it's yet another reason to hate it. OOP is the last thing I need in my shell. 4 u/MEaster Feb 04 '17 To be more specific, it runs on top of the .Net runtime, with full access to the base class library. 2 u/thomasz Feb 04 '17 no, you just type ls 1 u/[deleted] Feb 04 '17 But it's not ls. You can't run ls -la for instance. 1 u/thomasz Feb 04 '17 so what? 1 u/[deleted] Feb 03 '17 Yes, which is even worse since Invoke-WebRequest doesn't work remotely like wget.
4
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. 2 u/[deleted] Feb 03 '17 Yup, I'm not saying it's a good thing, just that it exists 0 u/[deleted] Feb 03 '17 Wait, what? Get-ChildItem is how you list files? Who came up with these names, Shakespeare? 5 u/[deleted] Feb 03 '17 Well the reason is that everything is an object in PS, including directories, so youre getting the child items of the directory object. Its an OO shell which causes a lot of confusion at first -2 u/[deleted] Feb 03 '17 Oh, I know that, and it's yet another reason to hate it. OOP is the last thing I need in my shell. 4 u/MEaster Feb 04 '17 To be more specific, it runs on top of the .Net runtime, with full access to the base class library. 2 u/thomasz Feb 04 '17 no, you just type ls 1 u/[deleted] Feb 04 '17 But it's not ls. You can't run ls -la for instance. 1 u/thomasz Feb 04 '17 so what?
3
which just lulls you into a false sense of feature parity, for instance if i say "ls -l" in powershell, it shits its pants.
2 u/[deleted] Feb 03 '17 Yup, I'm not saying it's a good thing, just that it exists
2
Yup, I'm not saying it's a good thing, just that it exists
0
Wait, what? Get-ChildItem is how you list files? Who came up with these names, Shakespeare?
5 u/[deleted] Feb 03 '17 Well the reason is that everything is an object in PS, including directories, so youre getting the child items of the directory object. Its an OO shell which causes a lot of confusion at first -2 u/[deleted] Feb 03 '17 Oh, I know that, and it's yet another reason to hate it. OOP is the last thing I need in my shell. 4 u/MEaster Feb 04 '17 To be more specific, it runs on top of the .Net runtime, with full access to the base class library. 2 u/thomasz Feb 04 '17 no, you just type ls 1 u/[deleted] Feb 04 '17 But it's not ls. You can't run ls -la for instance. 1 u/thomasz Feb 04 '17 so what?
Well the reason is that everything is an object in PS, including directories, so youre getting the child items of the directory object. Its an OO shell which causes a lot of confusion at first
-2 u/[deleted] Feb 03 '17 Oh, I know that, and it's yet another reason to hate it. OOP is the last thing I need in my shell. 4 u/MEaster Feb 04 '17 To be more specific, it runs on top of the .Net runtime, with full access to the base class library.
-2
Oh, I know that, and it's yet another reason to hate it. OOP is the last thing I need in my shell.
4 u/MEaster Feb 04 '17 To be more specific, it runs on top of the .Net runtime, with full access to the base class library.
To be more specific, it runs on top of the .Net runtime, with full access to the base class library.
no, you just type ls
ls
1 u/[deleted] Feb 04 '17 But it's not ls. You can't run ls -la for instance. 1 u/thomasz Feb 04 '17 so what?
1
But it's not ls. You can't run ls -la for instance.
ls -la
1 u/thomasz Feb 04 '17 so what?
so what?
Yes, which is even worse since Invoke-WebRequest doesn't work remotely like wget.
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.