Finally Watching “Inventing On Principle”
A different approach to defining one’s work
As someone who tries to keep my inbox empty by dealing with emails as they come in, I’m embarrassed to admit that, until recently, I’ve had ten old emails just moldering at the bottom of my inbox. Ten may not seem like a lot of email, but some of them have been sitting there for over two years!
Each email contained a link that somebody I respect thought I should read or watch. I didn’t have time to dedicate to them in the moment, so I stuck them someplace for later. Obviously, I should have stuck them somewhere better than my inbox, but I thought I’d get to them quickly and…never-mind, there’s really no excuse. I was weak. Forgive me. Now I have better storage places and no excuses, so I’m moving past the shame that kept me from actually reading them and I’m digging in.
The first link was a video of a conference talk given by Bret Victor at CUSEC (Canadian University Software Engineering Conference) in January of 2012. I emailed the link to myself in March of that same year, and more than two years later, I finally sat down to watch the hour-long video. I was floored! Bret spends the hour advocating for a career built not on a craft or a process, but guided by a principle. In the process, he explains his own guiding principle, blows minds with some great live demos, looks at other examples from history, and lays out the case for discovering one’s own guiding principle.
I so enjoyed the video (and I felt so ashamed about letting it languish in my inbox for so long) that I decided to write up the summary below. I thought it would be useful to paraphrase Bret’s still-relevant ideas for those who aren’t sure if they want to dedicate an hour to watching the video. So read on! Or save it for later. Just don’t keep it in your inbox, and don’t wait two years before giving it your attention. ☺
Inventing on Principle
by Bret Victor
A Summary of “Inventing on Principle”
(This section paraphrases Bret’s words in the video, so “I” in this section refers to Bret and not to Sean. It made things read more smoothly.)
This is a talk about a way to live your life. Lots of people might tell you to follow your passion or do something you love. I (Bret) am going to talk about something different: finding and following a guiding principle.
This talk has three parts. First I’ll talk about the principle that guides my own work and examine some of that work. Then I’ll discuss other examples of technologists with guiding principles. Finally, I’ll talk about identifying your own guiding principle.
Let’s start with me. Ideas are important to me, but they’re fragile. How are they made real? How does one create a healthy environment for bringing ideas into the world? I’ve thought a lot about this, and it’s led me to my own guiding principle: Creators need an immediate connection to what they’re creating. When you’re creating something, and you make a decision, you need to see the effect of that decision immediately.
Let’s look at an example with coding. I have a simple program that draws a scene with a tree and some mountains using JavaScript. Traditionally, if I want to make a change, I have to type, switch to another window, and run the code to see the result. I realized that this violates my principle of an immediate connection.
So I thought about other ways that the same interaction could work. I put the canvas and the code right next to each other. Instead of moving back and forth, anything I type is immediately reflected on the canvas, without reloading. Now, the code and the canvas are always in sync.
Once I have this immediate connection, I start to think about other ways that I can make changes more immediate. For example, how about changing numbers by dragging a slider instead of typing? Now I can dial any number up and down and immediately see the effect. It allows me to quickly adjust until a scene feels just right artistically. I can predict the consequences of adjusting some numbers, but others lead to surprises and new artistic ideas.
Other examples that can make the connection between me and the scene I’m creating more immediate:
- Using a color picker instead of typing hex values for colors in the code allows me to quickly experiment with color
- Autocompleting drawing method names in the code and seeing an immediate example on the canvas helps me learn and remember the various options
- Highlighting a part of the scene to bring up the relevant line of code speeds up the iterative process of making changes
What about a piece of code that does more than draw a static picture? What about a simple game, for example? A game changes over time and involves user input. To make a more immediate connection, the creator needs to map time to space, so they can see the consequences of their changes as interactions play out over time.
Get Sean McBride’s stories in your inbox
Join Medium for free to get updates from this writer.
If I want to adjust the way that a character jumps so that he hits a particular spot, normally it’d be a very slow process of trial and error. But by making the future path that the character will travel visible on the screen, I’m able to adjust the code that controls the height of the jump and see the effect on the character’s path immediately.
What about code that’s not visual at all, like a binary search algorithm? An immediate connection still improves things. When a programmer writes code like this today, she basically simulates a computer in her head. She must imagine what will happen with different combinations of input data. But if the code is being written on a computer, why should the programmer have to simulate one in her head?
Instead, I can add an area next to the code that shows an example of real data while the program runs. Changing the code immediately changes the data, and updating the data values directly lets me see what the code does with different inputs. This allows me to catch bugs as I type them, and find edge cases quickly. It’s what it might be like to write an algorithm without a blindfold on.
Actually, this principle has nothing to do with programming. It can apply to any type of creation. Take circuit design, for example. Making changes requires me to simulate the circuit in my head or build it and measure voltages. But if I add graphs of voltage on wires and current through components as a part of the diagram, I can get immediate feedback on changes I make and see how they effect the behavior of the circuit in real-time.
The reason why we have these squiggly symbols to represent parts of circuits in the first place is because they’re easy to draw on paper. But this isn’t paper, it’s a computer! When the medium one works in changes, one must reassess the best way to work. The same is true for programming: typing a bunch of text and then running it is a hold-over from the way the first programming systems and compilers worked. It doesn’t have to be that way anymore. Computers make immediate connection to our work possible, if we take advantage of it.
Designing animations is another domain where an immediate connection can provide big benefits. With a tool like Flash, I have to painstakingly create keyframes in an animation and then define transitions between them. Creating a complex animation, such as a slowly falling leaf, can take an entire day, even though I can imitate the motion I want with my hand in a few seconds. What if I could “perform” an animation for the different elements of a scene one-by-one, using my hands and a tablet? This type of interface for animation gives me an immediate connection to my work and drastically speeds up the creative process.
This principle of immediate connection is important to me because I value ideas, and so many ideas are trapped inside people’s heads. Without the right tools for realizing them, ideas are born stunted or never born at all, and that’s a tragedy. I see it as not just an opportunity, but my responsibility to help bring more of those ideas into the world.
Words like “responsibility” or “tragedy” aren’t common in technology, but they’re common for social causes, where principles commonly guide our work. Most of us don’t see a civil rights violation and think, “Oh good, an opportunity!” As a technologist, it’s OK to have a vision for a better world, identify a guiding principle, and fight for that principle. Social activists fight by organizing; as a technologist, you can fight by inventing.
Are there other technologists who’ve lived this way? Larry Tesler did. Working at Xerox PARC before the advent of personal computers, Larry pioneered the idea of software user studies and saw that people struggled to learn software because of modality: being stuck in a mode and not knowing how to get out of it. As a result, he made it his personal mission to eliminate modes from software. He invented text editing as we know it, with a cursor, drag to select, and copy/paste. These ideas spread throughout PARC, and eventually became the foundation for all modern personal computers.
How would we describe what Larry did? We might say he invented copy/paste, but focusing on his individual inventions misses the larger organizing principle behind his work. We might also say that he solved the problem of modeless text manipulation, but when Larry started out, nobody even recognized that as a problem. It was just a fact of life. The first thing Larry did was to recognize a wrong that had been unacknowledged in culture. He established the principle of modelessness.
Recognizing an unacknowledged wrong is how many great social changes begin. Take Elizabeth Cady Stanton, for example. 150 years ago, she said “women should be able to vote,” and people thought she was crazy. Now, we recognize gender discrimination as a problem, but at that time it was just an invisible part of society. She had to recognize it first, and then fight it by organizing. Without making a judgement about their relative importance or impact, Larry and Elizabeth had a similar motivation and approach.
Other examples of technologists with a guiding principle:
- Douglas Engelbart — He invented interactive computing as we know it: putting info on screen, navigating through it, pointing to things and interacting with them. Real-time interaction with a computer was unheard of before his work. Some might call him the inventor of the mouse, but he saw himself as “enabling mankind to solve the world’s urgent problems” by reinventing how people work with information.
- Alan Kay — He invented the concepts of windows, icons, and object oriented programming, but his mission was to “amplify human reach and bring new ways of thinking to a faltering civilization that desperately needs it.” His approach was to improve children’s fluency with computers in order to make them better critical thinkers.
- Richard Stallman — He created the GNU project, the Free Software Foundation, the GCC compiler, and GPL licensing. His driving principle is that “software must be free, as in freedom,” which he’s followed uncompromisingly in his own life.
I’m not saying that you must or should live this way, just that it’s a valid option for guiding your career. In technology, there are several common identities that people adopt to define their work. The first is an identity based on mastering a skill or craft, like “front-end engineering.” Another common identity is the problem solver, who identifies needs in a market and addresses them one by one.
Inventing on principle is a less popular path in the field of technology, but it’s still a valid choice. Larry Tessler didn’t define himself by a particular craft or by solving problems that everyone recognized. He defined himself by a principle that he tried to uphold. On Wikipedia, it might say that he’s a “user interface designer”, but that’s like saying Elizabeth Cady Stanton was a “community organizer.” No, she established the principle of women’s suffrage.
It can take time to find your own principle because it’s a process of self-discovery. It took me 10 years: all through my 20's I’d get glimmers of what I cared about, but I couldn’t see the bigger picture. I had to just do a lot of different things and use those experiences to analyze what motivated me.
So how can you identify your own principle, if you choose this path?
- Confining yourself to a single skill or craft can make it difficult to get the breadth of experience necessary to discover your principle. Variety of experiences makes it easier, so don’t pigeonhole yourself.
- You shouldn’t just choose any old vague statement as a principle. It should be specific enough to be directly actionable, dividing the world into “right” and “wrong” in a concrete, objective way. “Creators need powerful tools” is too vague, but “creators need an immediate connection” is something I can use to evaluate a piece of software right away. The specificity is what allows the principle to guide your work.
Further Reading
Watch the video for the full effect. It’s worth an hour of your time, and Bret’s examples and live demos for making a more immediate connection will blow you away.
Once you’re done with that, go and read Bret’s Learnable Programming, where he breaks down the aspects that make a programming system good for learning and dispels some of the misconceptions that arose from his examples in Inventing on Principle.








