Easier Use of Existing Functionality

Sometimes, we will create a class that represents functionality that we have traditionally been able to do with functions. This class will wrap around the functions to encapsulate the functionality and make it easier to use. These classes are known as "Wrapper Classes", or classes that are wrapped around something that we can do without a class. The only benefit of wrapping a class around it is to make the implementation of the functionality easier in our systems.

A good example of this kind of class is a class that encapsulates the functionality of FoxTools or even SYS() functions. By creating a class with methods to handle the individual functions, we can not only forget the cryptic and often unrecognizable names for functions, but we can also encapsulate the error handling associated with the objects.

We'll look at a wrapper class for FoxTools later.