Improve Concept Exercise "Fruit Picker": Add Concept arrow-functions
#1340
Labels
x:action/improve
Improve existing functionality/content
x:knowledge/elementary
Little Exercism knowledge required
x:module/concept
Work on Concepts
x:size/medium
Medium amount of work
x:status/claimed
Someone is working on this issue
x:type/content
Work on content (e.g. exercises, concepts)
Getting Started
Here you can read about what Concept Exercises are and how they are structured:
If you have not done so yet, it is probably also helpful to do a couple of "Learning Exercises" (this is how they are called on the site) yourself. You can also look at the code of an existing concept exercise like
bird-watcher
(conceptfor-loops
) for reference.See the documentation above (general documentation), as well as How to implement a Concept Exercise in JavaScript.
Main Task
Currently, the exercise only associated with the concept
callbacks
. Arrow functions are only mentioned briefly at the end of that concept. Since being able to read and write arrow functions properly is important, they should get their own conceptarrow-functions
. So after this change the fruit picker exercise will unlock 2 concepts,callbacks
andarrow-functions
.The new concept should explain the most important syntax variants. The introduction.md should not explain the details of what happens to
this
as there will be a separate concept later.Possible resources that might help:
The exercise could probably stay as is but if you have a good idea how to improve it so it incorporates the new content even better, feel free to do changes.
Don't forget to adjust the design.md file to incorporate the new content and to add the new concept in the global config.json file.
Also remove arrow functions from the
callbacks
concept and make sure the introduction.md of the exercise includes both concepts.Bonus Tasks
How to proceed
The text was updated successfully, but these errors were encountered: