Variable as Box

Programming Language

imperative / any

Form

Analogy

Attribution — Origin / Source

Collected by Felienne Hermans — Own practice.

Conceptual Advantage

Makes variable tangible, embodied activity

Mapping

PLNM
Variable Box
access opening box, accessing topmost post-it
rename variable new name on box
assign (list) new name also on box
assign simple value second box with same post-it

Draws Attention To

Variables, access, initialization

Use When

When the concept of variables is still unclear

Cost

Might include multiple values hypothesis

Comments or Feedback?

Do you have feedback on this notional machine? Did you find a mistake, or do you have a request for improvement? You can create an Issue on GitHub, where the description is hosted. This way we can see your feedback and address it.

For this, you need a GitHub account. Then follow this link to see the source file of this page. In there, click the ... left of the highlighted line, then pick "Reference in a new issue".

Create an Issue on GitHub