July 25, 2026

The code got taller. So did the drama

Spatial languages: Writing code in 2D

Code goes up-and-down now, and the comments are losing it

TLDR: A programmer proposed writing code in two dimensions, stacking parts vertically to express ideas that are awkward in a single line. Commenters split fast: some loved the playful creativity, while others mocked it as overhyped and joked that nightmare 3D coding is clearly next.

A programmer showed off a wild idea: what if code didn’t have to sit politely in a single line, and could spread up and down the page too? The demo turns a three-part action into a little code stack, with one value perched above an operator instead of everything being squeezed left to right. The practical example was a chicken coop door that only flips open or shut when several conditions line up, but the real show started when the community arrived with popcorn.

Some readers were delighted by the sheer weirdness. One commenter said they wandered off to understand quantum-computing code and came back with this “fun idea of 2D expressions,” which set the tone: half experiment, half fever dream. Others immediately tossed in comparisons to Orca, a visual system used to make music, as if to say, “Buddy, the code-as-grid rabbit hole goes much deeper.”

But not everyone was ready to worship at the altar of vertical code. One of the hottest reactions basically called the whole thing cute but overdramatic, pushing back hard on the author’s “mind-blowing” language. Another went straight for the joke: if code is now 2D, then surely the next cursed step is 3D programming, where developers have to read left-right, top-bottom, and somehow also “before and behind.” In other words, the article proposed a new shape for code, and the comments instantly turned it into a battle between playful curiosity, eye-rolling skepticism, and full-on meme material.

Key Points

  • The article proposes writing programming expressions in two dimensions rather than only as left-to-right text.
  • It introduces a custom three-argument function, `andFlip`, which flips a target value when its first two inputs are true.
  • A 2D infix notation is proposed for `andFlip`, placing the third argument vertically relative to the operator.
  • The notation is demonstrated with chained expressions using scratch variables `t1` and `t2`, including a chicken-coop door controller example based on sensor conditions.
  • The article presents a vertical chaining pattern that resets an intermediate variable within the same expression and says this models the CCCX gate in quantum computing.

Hottest takes

"Soon we have an IDE that works in 3D... before, and behind" — shevy-java
"This is cute... but blowing my mind? No, not exactly" — dahart
"I ventured out to better read Qiskit code, and came back with this fun idea" — BinRoo
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.