This book covers every imaginable aspect of softward programming, from the best way to write a code to the best way to design an office in with to write a code.
More Joel on Software
The Best Software Writing I
The Mythical Man Month and Other Essays on Software Engineering
Distributed Systems, 3rd Edition