Add arrow function based implementation#8
Add arrow function based implementation#8dmitriz wants to merge 2 commits intopull-stream:masterfrom
Conversation
| const show = console.log | ||
| , str = values([1,2,3]) | ||
|
|
||
| show("Pulling data from the stream...") |
There was a problem hiding this comment.
why rename console.log? I can expect the reader to already know what console.log does, so they can understand each line, but now I had to go figure out what show was. At first I thought it was a module.
|
It is a habit thing for me, to avoid hard-coding, so I can make change in single place, e.g. to turn it silent, and also get a better performance by not repeatedly looking up the props. |
|
Maybe I need to explain the motivations behind my PR because the changes themselves are trivial.
|
Supersedes #7