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 trialK .
2,357 PointsWhy don't we use interpolation?
Why doesn't Jason use string interpolation instead of manually typing in all those + " " spaces?
1 Answer
Steven Parker
231,261 PointsYou didn't mention which course you were viewing, but I'd bet that if interpolation wasn't introduced earlier in the same course, it's not used for the benefit of students who might not have already taken one where it is explained.
And don't be surprised when you are able to improve on the course examples, that's an indication of your learning progress.
K .
2,357 PointsK .
2,357 PointsSorry. I think it was the Ruby objects and classes part. Itβs been introduced already.
Steven Parker
231,261 PointsSteven Parker
231,261 PointsBut probably introduced in a different course, not everyone takes all the courses or in the same order.