Replies: 2 comments 2 replies
-
I really like this idea! I think this can be a worthwhile. I often think about this since there is a point in Hedy (around level 14) where the adventures become more and more complex, where the addition of functions can make things clearer, for example in the Tic Tac Toe story. I think functions are not supper difficult as to merit their own level, but being in the same level as Also, I understand that this is a little tangential to this discussion so maybe we should open another thread for this, but you mentioned that older students are starting to use Hedy, but the Hedy content is very much tailored towards K-12. Do you think is worth adding more content for those older students? |
Beta Was this translation helpful? Give feedback.
-
I will be working on this for my bachelor's thesis. Before reading this discussion, I was also leaning towards implementing functions around Level 15 (while loops). We should also decide how we will make the concept of functions gradual and then decide where to add each of those levels. My idea is: 1. Simple function declarations and callsexample code
output: 2. Adding argumentsexample code
output: 3. Return value and parenthesesexample code
output: 4. Semicolon and defexample code
output: One thing I'm not sure about is the parentheses. Currently they are added in the final level, but with functions, it might be very tricky to not use them when calling the function with arguments to be used within another command e.g. Adding the colon is currently introduced in level 17 so we can add it for functions in the same level. I would like to hear your thoughts on this @Felienne, also if the keywords should be different, not sure which are the best for students to understand easily. Eventually the only remaining keyword will be |
Beta Was this translation helpful? Give feedback.
-
We are getting more and more requests to also add functions to the levels and I am inclined to take those requests seriously. A few reasons:
Question is of course.... where in the trajectory? I am inclined to say let's do it before
while
loops? Whilewhile
adds some power it is not a lot of power compared tofor
and it also hard. But putting a level in between is quite involved because we have the shift content (but we have "chopped with that axe before" so it should be doable)Beta Was this translation helpful? Give feedback.
All reactions