Jwhiles / pure-functions-easy-testing

A workshop to help people start testing their code.
MIT License
2 stars 5 forks source link

It isn't 100% clear how the functional version of example 3 actually works #12

Closed oliverjam closed 7 years ago

oliverjam commented 7 years ago

It might be worth showing how exactly you would call the functions in Example 3. I know Zooey and I were quite confused about this until @Jwhiles explained it.

Maybe adding something like updateDom(visionChange(changeTransition))() at the end would demonstrate how this works. It could cause more confusion as it kind of jumps ahead into some functional programming stuff though.

Happy to do a PR if you think this would be an improvement.

Jwhiles commented 7 years ago

Please do so, your group were very much the guinea pigs for this :)

oliverjam commented 7 years ago

@Jwhiles Finally got around to doing this, only 4 months later. There's a PR with this and some other readme edits before FAC11 do this workshop :)

Jwhiles commented 7 years ago

slow and steady wins the race 🥇

Jwhiles commented 7 years ago

Let me know how it goes!!

oliverjam commented 7 years ago

Thanks, I will!