Search code examples
theory

what does driver program mean?


there is a quote from Algorithms for Java (sedgwick 2003) p. 135: "we commonly use driver programs when developing or debugging adt iplementations" what is meant by driver program? google just gives me loads of info about programming drivers, clearly not related


Solution

  • In this context a driver program is just a program that uses the class or algorithm that you're developing. It's primarily used for testing your code while you develop it.