First off: Thanks a whole lot to timoxley and others who took a lot of time out of their busy days to create this self-paced functional-javascript learning app. I'm finding it very useful. A lot of my Javascript learning is book learning or is used on largish apps which have to get finished, leaving me with little time to experiment.
I think my function (below) is very easy to read. I've been watching Professor. Frisby's lessons on Egghead and he encourages top to bottom readability in chained functions.
When I looked provided answer, I couldn't easily follow the logic flow.
I assume that the best examples of their kind should be added to the functional javascript workshop so that we don't get beginners off on the wrong foot.
First off: Thanks a whole lot to timoxley and others who took a lot of time out of their busy days to create this self-paced functional-javascript learning app. I'm finding it very useful. A lot of my Javascript learning is book learning or is used on largish apps which have to get finished, leaving me with little time to experiment.
I think my function (below) is very easy to read. I've been watching Professor. Frisby's lessons on Egghead and he encourages top to bottom readability in chained functions.
When I looked provided answer, I couldn't easily follow the logic flow. I assume that the best examples of their kind should be added to the functional javascript workshop so that we don't get beginners off on the wrong foot.
Let's propagate anonymous arrow functions. I believe that the ES6 transformers available will produce code which can run everywhere.
Stephen Wright