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!

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

iOS Build a Simple iPhone App with Swift Creating a Data Model Finishing Up Our Model

Wouldn't it be better to just show us the proper, readable way to code rather than wasting time w/ a poor way first?

Just feeling like we are wasting resources here.

1 Answer

By showing the "poor way" to design a program, you can then see why the alternative "proper" way is better and more efficient. If you don't know why a particular design pattern is better than another then it's hard to make the right decisions when writing code. Most programmers have written inefficient code and by trial and error have learned how to write more efficient and well designed programs. In the end, writing good quality applications is a matter of experience.