Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Carson Carbery
9,876 PointsHelper Classes in Vending Machine app
Hi I am new to OOP and appreciate any advice help I can get to fully understand this subject. Here's my question:
In the Vending Machine app there are two "helper classes": Plist Converter and InventoryUnArchiver.
Both classes contain one function each and nothing else. So my question: what is the use of the class in this case? Would it not be simpler to read and more structured if both were just functions?
Thanks with any help to understand this.