3 ms·
Thanks rasengan. I've been using PowerShell for about 5 years now. I was trying to learn Bash, but I found too limiting -- it was like going backwards. So, I st
by gabrielsroka 7y ago
Thanks rasengan. I've been using PowerShell for about 5 years now. I was trying to learn Bash, but I found too limiting -- it was like going backwards. So, I started learning Python.
You'll notice that the PowerShell and Python versions are very similar.
- theamk 7y agoYes, because they do much less than the shell version Here is a shell version which does the same thing as python, it is much smaller as well: https://github.com/realrasengan/autobahn/pull/8/files#diff-6cd37e45d3c074636991849465b11a83 https://github.com/realrasengan/autobahn/pull/8/files#diff-6...
- gabrielsroka 7y agoIn fairness, when I ported the Bash version to PowerShell and then Python, the Bash version was much shorter. rasengan later added a lot of functionality to the Bash version. And the point was to demonstrate some of the functionality in a short example, not to be a line-by-line port. I find it's easier to learn a new language by looking at a short example. The rest is left as an exercise to the reader.
- rasengan 7y agoThank you gabrielsroka!