← Back to context Comment by mmalone 6 years ago Yea, like, imagine if posix pipes and command-line flags could be typed. 6 comments mmalone Reply delusional 6 years ago The general problem is that typing for these sorts of systems suck. If it works it's a nice little safety feature, but when the types don't line up it's infuriating. Treating everything as a lowest common denominator makes compatibility trivial. vageli 6 years ago Powershell offers this I believe. ChrisSD 6 years ago NuShell is also attempting this. Both are cross platform.https://github.com/nushell/nushell _underfl0w_ 6 years ago Thanks for mentioning this! It looks super interesting, but I hadn't heard of it before. jmmv 6 years ago That's right. I recently wrote on this topic: https://jmmv.dev/2020/10/powershell-cmdlet-params.html mmalone 6 years ago Yep. Not perfect... type systems have come a long way since PowerShell did it. But it's a good start.Look at stuff like PowerShell secure strings for an example of the sort of neat stuff you can do.
delusional 6 years ago The general problem is that typing for these sorts of systems suck. If it works it's a nice little safety feature, but when the types don't line up it's infuriating. Treating everything as a lowest common denominator makes compatibility trivial.
vageli 6 years ago Powershell offers this I believe. ChrisSD 6 years ago NuShell is also attempting this. Both are cross platform.https://github.com/nushell/nushell _underfl0w_ 6 years ago Thanks for mentioning this! It looks super interesting, but I hadn't heard of it before. jmmv 6 years ago That's right. I recently wrote on this topic: https://jmmv.dev/2020/10/powershell-cmdlet-params.html mmalone 6 years ago Yep. Not perfect... type systems have come a long way since PowerShell did it. But it's a good start.Look at stuff like PowerShell secure strings for an example of the sort of neat stuff you can do.
ChrisSD 6 years ago NuShell is also attempting this. Both are cross platform.https://github.com/nushell/nushell _underfl0w_ 6 years ago Thanks for mentioning this! It looks super interesting, but I hadn't heard of it before.
_underfl0w_ 6 years ago Thanks for mentioning this! It looks super interesting, but I hadn't heard of it before.
jmmv 6 years ago That's right. I recently wrote on this topic: https://jmmv.dev/2020/10/powershell-cmdlet-params.html
mmalone 6 years ago Yep. Not perfect... type systems have come a long way since PowerShell did it. But it's a good start.Look at stuff like PowerShell secure strings for an example of the sort of neat stuff you can do.
The general problem is that typing for these sorts of systems suck. If it works it's a nice little safety feature, but when the types don't line up it's infuriating. Treating everything as a lowest common denominator makes compatibility trivial.
Powershell offers this I believe.
NuShell is also attempting this. Both are cross platform.
https://github.com/nushell/nushell
Thanks for mentioning this! It looks super interesting, but I hadn't heard of it before.
That's right. I recently wrote on this topic: https://jmmv.dev/2020/10/powershell-cmdlet-params.html
Yep. Not perfect... type systems have come a long way since PowerShell did it. But it's a good start.
Look at stuff like PowerShell secure strings for an example of the sort of neat stuff you can do.