{"action":"created","issue":{"url":"https://api.github.com/repos/transduce/transduce/issues/31","labels_url":"https://api.github.com/repos/transduce/transduce/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/transduce/transduce/issues/31/comments","events_url":"https://api.github.com/repos/transduce/transduce/issues/31/events","html_url":"https://github.com/transduce/transduce/issues/31","id":66466086,"number":31,"title":"Code Splitting and Transducer Implementation Confusing","user":{"login":"kevinbeaty","id":522231,"avatar_url":"https://avatars.githubusercontent.com/u/522231?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbeaty","html_url":"https://github.com/kevinbeaty","followers_url":"https://api.github.com/users/kevinbeaty/followers","following_url":"https://api.github.com/users/kevinbeaty/following{/other_user}","gists_url":"https://api.github.com/users/kevinbeaty/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbeaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbeaty/subscriptions","organizations_url":"https://api.github.com/users/kevinbeaty/orgs","repos_url":"https://api.github.com/users/kevinbeaty/repos","events_url":"https://api.github.com/users/kevinbeaty/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbeaty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-05T18:10:32Z","updated_at":"2015-04-05T18:37:00Z","closed_at":null,"body":"From @tgriesser in #29 \r\n> One other thing I've noticed while trying to do things in the library currently, is that the code\r\nsplitting and binding/applying of context has made things very difficult to follow. It's difficult to know\r\nwhat the value of \"this\" is, and almost might be easier if stuff was done functionally in places where the new transducer function is being utilized.\r\n"},"comment":{"url":"https://api.github.com/repos/transduce/transduce/issues/comments/89830362","html_url":"https://github.com/transduce/transduce/issues/31#issuecomment-89830362","issue_url":"https://api.github.com/repos/transduce/transduce/issues/31","id":89830362,"user":{"login":"tgriesser","id":154748,"avatar_url":"https://avatars.githubusercontent.com/u/154748?v=3","gravatar_id":"","url":"https://api.github.com/users/tgriesser","html_url":"https://github.com/tgriesser","followers_url":"https://api.github.com/users/tgriesser/followers","following_url":"https://api.github.com/users/tgriesser/following{/other_user}","gists_url":"https://api.github.com/users/tgriesser/gists{/gist_id}","starred_url":"https://api.github.com/users/tgriesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgriesser/subscriptions","organizations_url":"https://api.github.com/users/tgriesser/orgs","repos_url":"https://api.github.com/users/tgriesser/repos","events_url":"https://api.github.com/users/tgriesser/events{/privacy}","received_events_url":"https://api.github.com/users/tgriesser/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T18:37:00Z","updated_at":"2015-04-05T18:37:00Z","body":"> One thing that does allow is to reuse forEach with multiple transformers though (to reinitialize the index)\r\n\r\nWould you often be reusing the same forEach with different transformers though?\r\n\r\n> Would something like this be better:\r\n\r\nPotentially, yeah though it feel sort of nice to call `step(value, input)` \r\n\r\nAlso it might be worth making a set of benchmarks (or copying over the ones from jlongsters) to see if/where any potential code shortcuts are advantageous / harmful. I personally tend to favor source code readability and execution speed more than file size.\r\n"}}