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
Christopher BonueliOS Development Techdegree Graduate 14,116 Points
Can I build on the same Xcode project/github repo as Amusement Park Pass Generator: Part 1 for Part 2?
I know the instructions say to create a new project, but this seems to contradict the DRY principle.
Zachary Kaufman1,463 Points
Build it separately first, and then later you can combine them. The reason is the projects take a long time and have a lot of code. If one teacher grades Part 1 and then another grades Part 2 but you combined them, then the second teacher is grading what is equal to two projects and that is more time consuming. Plus when you submit projects you have to give the correct Github repo name, if you combine the projects then you can't actually submit part 2 because the Treehouse website will give you an error saying there is no repo for part 2. And therefore if you combine them a teacher can't find it or give an official grade. So do them separately, then later combine them and post them on Slack or something and see what people think. I hope this helps. Good luck with your projects!