Every day around the world, software developers spend much of their time working with a variety of Application Programming Interfaces (APIs). Some are integral to the core platform, some provide access to widely distributed frameworks, and some are written in-house for use by a few developers. Nearly all programmers occasionally function as API designers, whether they know it or not. A well-designed API can be a great asset to the organization that wrote it and to all who use it. Good APIs increase the pleasure and productivity of the developers who use them, the quality of the software they produce, and ultimately, the corporate bottom line....
The marshmallow experiment is a famous test of this concept conducted by Walter Mischel at Stanford University and discussed by Daniel Goleman in his popular work. In the 1960s, a group of four-year olds were given a marshmallow and promised another, only if they could wait 20 minutes before eating the first one. Some children could wait and others could not. The researchers then followed the progress of each child into adolescence, and demonstrated that those with the ability to wait were better adjusted and more dependable (determined via surveys of their parents and teachers), and scored an average of 210 points higher on the Scholastic Aptitude Test.