API-driven development

In my opinion, the best way to design a piece of software is to start with the interface it presents to the user, and if that user is a programmer then the interface is the API.

These days, the core ideals of user interface design are taken for granted (indeed, so taken for granted as to be forgotten in many cases). E.g. I think it's fair to state that the first (or even zeroth) law of usability is consistency. It's easier to learn, remember, and explain things that are consistent.

Not far down the list is the idea of minimizing steps (for common tasks at least; when providing a user interface for rarely performed and possibly destructive actions, the rules can be upended). Microsoft famous (and, at the time, dishonestly) advertised the fact that with Windows you could perform a task with a single click that previously required dozens of keystrokes. (It actually took a huge number of mouseclicks owing to Windows File Explorer's horrible user interface, but I digress.)

In fact you can find parallels between good programming principles and good user interface design all over the place. Minimizing steps is kind of like DRY ("don't repeat yourself") for programming, and don't make the API consumers repeat themselves for API designers.

— Tonio Loewald,