Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really do not see powershell as a bash, zsh, fish, ... shell equivalent. It is more inline with perl, python, php, ... scripting languages. One thing I really dislike about powershell development is default aliasing such as using curl to actually call Invoke-WebRequest. This was such bad taste and disrespectful to the actual application and their developers that make a really good library and tool. Windows even now comes with curl.exe in C:\Windows\System32.


> One thing I really dislike about powershell development is default aliasing such as using curl to actually call Invoke-WebRequest.

Hasn't been a thing for a while now.


While it's true that it's no longer aliased in PowerShell 7, the currently shipping version of Windows PowerShell included in Windows 11 still aliases it to this day. If you intend to be portable across both versions, you still have to use "curl.exe" to get the real curl.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: