Open jpnws opened 10 months ago
In my original post above, I first mentioned allowing the user to click on any point in the code. However, I introduced a potentially contradictory idea later on by suggesting that the user should click on specific points like L1, L2, L3, etc. Additionally, I proposed that users might either select or type the permissions but later suggested that maybe users could click on columns to cycle through options. Sorry for the contradictions. Some of these ideas were just emerging on the fly as I was writing the post. This is because I'm uncertain about the reasonable approach, so I think it would be good to open it up for discussion.
The permission, stack, and heap diagrams, as well as the aquascope and all the quizzes, have been very helpful. Here's my idea: how would everyone feel about a quiz that allows the user to click on any point within the code and then specify the permissions of the variables? After clicking submit, the aquascope runs and checks if you got it right.
For example, suppose that a quiz is:
Maybe the user can click the symbol column (where ⮥ is located) to cycle through either ⮧, ->, ⟲, ♺.
They can click the permissions columns to cycle through symbols like +R, +W, +O.
For the expected permissions, maybe something similar like clicking to cycle through R,W,F.