Except when you don't and then have to decide which hoops to jump through to get reasonable stream processing in the shell.
Except when you don't and then have to decide which hoops to jump through to get reasonable stream processing in the shell.
I bet someone coming from JS background wouldn't have to check how to do `ls().map(whatever)`
But they will definitely need it to do `for d in */ ; do whatever(); done`
What I don't get is why not include piping support in it natively, instead of suggesting to go through JS-native stream processing which most are likely unfamiliar with (I am not, but I am not a full time JS dev either)?
This might clarify "I get the desire to implement loops with JS in a new shell." => no implementation has been done, everything is already provided by Node. Instead, we focus our energy on making vanilla JS as intuitive as possible.