Summary
Our application looks outwardly much the same as it did at the beginning of this chapter. Our code, on the other hand, does not. Classes helped us massively refactor and reorganize our codebase. We've achieved a much better separation of concerns, got rid of some repetitive code, and put all our methods in the logical places. We:
Used model classes to represent the data and business logic of our application
Used view classes to handle the display logic and user input
Used inheritance and composition to share logic between classes
Now that our application is lean and mean, we're ready to add some more improvements. In the next chapter, we'll be learning about some advanced features of CoffeeScript. We'll learn new ways to manipulate different types of data, including our new classes. We'll also learn some common idioms that make your life easier and your code more powerful.