You need patience, discipline, and agility to take losses and adversity without going crazy.
The scientific study of behavior must be based on objective, measurable data.
The best programs are written so that computing machines can perform them quickly and so that human beings can understand them clearly. A programmer is ideally an essayist who works with traditional aesthetic and literary forms as well as mathematical concepts, to communicate the way that an algorithm works and to convince a reader that the results will be correct.
Never stop questioning how things can be done better—complacency is the enemy of progress.