codebar / tutorials

🗒 codebar's tutorials
http://tutorials.codebar.io/
258 stars 243 forks source link

Higher order functions in JavaScript #335

Open webb04 opened 7 years ago

webb04 commented 7 years ago

Recently a student (learning a programming language for the first time) had some trouble grasping the sortNumbersAscending example in lesson 2 of learning JavaScript https://github.com/codebar/tutorials/blob/gh-pages/js/lesson2/tutorial.md.

This seemed like a steep step up compared to the rest of the content (which the student understood and enjoyed going through).

I just wondered if lesson 2 was a bit early to introduce passing functions as arguments? or if this could be expanded on or simplified in this section?

richardwestenra commented 7 years ago

Hey Jamie :)

Thanks for the suggestion. I've no idea either way really - I'd welcome more feedback from other coaches on this issue, and it might also be worthwhile having a look at some other tutorials, like codecademy, to see how they handle it.

If other coaches feel the same way, would you be willing to make a PR?