The question of if code is spatial has come up in ...
# share-your-work
d
The question of if code is spatial has come up in this Slack multiple times. I created a prototype that displays the control flow of a program in space by using a game UI.
😍 2
❤️ 1
👀 3
m
Few people would argue whether code is spatial. I think most discussion is about either formal representations or phenomenological experience of programming (or some semantic nitpicking about what spatial even means). Code is pretty much just an encoding of one of those things (formal / phenomenological representation). And that encoding must have at least one dimension. The core of the question is highly subjective. Which makes it such a fun topic to discuss :)
d
I think that's a great way to learn and debug! Curious if you've thought about putting memory in the visualization as well (scope, size, accesses/references, and lifetimes). Could be represented as more horizontal tiles and/or inventory on the player.
g
I love how playful and simpel they are while still not hiding the actual complexity behind, great job!