This section gives a number of tips on how to organize your programs for increased efficiency. A lot of clarity and efficiency is gained by sticking to a few basic rules. This list is necessarily very incomplete. The reader is referred to textbooks such as The Craft of Prolog by Richard O'Keefe, MIT Press, 1990, a thorough exposition of the elements of Prolog programming style and techniques.