Allow for x for multiplication in level 5 and up #838
Replies: 3 comments 1 reply
-
During my course there were no issues with people using the I would prefer not to allow the x for multiplication. I think level 5 is a good moment to learn to use * instead of x and you have to learn it anyway. A warning would be nice if it is clear that they try to use x instead of *. |
Beta Was this translation helpful? Give feedback.
-
Do we see a lot of programs using x instead of *? Or do we just hear from children that x would be more natural? |
Beta Was this translation helpful? Give feedback.
-
Hi all! I looked at the data and it is common but not very common (a few hundred occurrences in all 1.5 million programs) so I guess we do not have to change the grammar to allow it. We could make a better error message, this is what you get in the current version: That clearly is not what we'd want, maybe we can solve this with Confusables like we plan for ` versus '. |
Beta Was this translation helpful? Give feedback.
-
We see a lot of kids use or prefer x for multiplication.
We now explain in level 5 straight away that * needs to be used, but that is hard and also somehow conveys the idea that programming is "weird" that we might want to push further along.
So... Should we allow for the use of x, like :
5 x 6
? Do we allow both? Do we allow x but give a warning that is should really be *? Do we repair to *?What do you think @MarleenGilsing? Would love toa also hear @OnnoEbbens's take after the level 5 lessons of the coming week.
Beta Was this translation helpful? Give feedback.
All reactions