Creating Your Own Classes

If you're an experienced programmer, you already have a library of useful functions you've written over the years. Objects don't replace functions — you'll still write and use utility functions — but they provide a convenient, logical way to organize procedures and data.

In particular, the classes from which you create objects combine data and procedures into a unit. The following topics explain how this increases the robustness of your code, and how it leads to new ways of programming.