July 16, 2012
When the GUI might kill the commandline

Wired magazine recently ran a piece discussing the role of the commandline and why as computers develop and change the commandline remains an important part of the interaction toolkit.

As an interaction designer and researcher, I’d like to offer a different view point. To compare a GUI with a commandline interface (CLI), you have to evaluate the two interaction styles based on their fundamental design concepts. The modern GUI consists of buttons and icons that allow you to do a number of different things. In a sense, a GUI is an advanced control panel. You can click buttons and drag icons. Doing so has the affect of triggering a set of functions the developer has written. This is why we have the model-view-controller architecture. GUIs are simply a graphical layer that causes the execution of controller code. We click a button the computer does something. Click the buttons in the right order and you are able to do more complicated things. A CLI is a different beast all together. Every shell, or terminal has its own variant on a shell scripting language. As a person works she types out the commands she wants executed. She can write complicated commands by using programming constructs like loops and functions. She can also take advantage of the OS’ standard input and standard output channels to string together a pipeline of commands. A CLI enables expressivity on the level of languages. While a CLI executes system functions too, the difference is the degree of expressivity the interface allows.

I think the most important factor when comparing a CLI with a GUI is expressivity. It is possible that one day a GUI will provide the same expressive power as a CLI. For that to happen, interaction designers need to begin to think about designing GUIs that allow people to express things rather than cause system level functions to run. They have to begin to think of the GUI as a means of graphical human expression. We have to shift our paradigm of interaction from one of use to one of expression. I think if we are able, we will find ways to make the GUI as expressive as the CLI.

I would hypothesize that an expressive GUI will probably make use of a touch interface to allow direct manipulation of graphical objects in the same way a keyboard allows direct manipulation of linguistic elements - the letters beneath your fingers.

9:07am
(View comments
Filed under: GUI CLI