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 trialjustin moen
Courses Plus Student 483 Pointsthis is a bad sentence
On line 18, set the variable 'saying' to the concatenation of the 'first' and 'second' arrays with the word "dog".
poor english
2 Answers
Michael Wiss
19,233 PointsHa! Maybe Ruby would make more sense:
"The basic purpose of launching Ruby was to make it easy for humans to interact with machines and understand codes. Yukihiro Matsumoto, the father of Ruby, insists that Ruby was designed for programmer productivity and not for machine optimization.
Often people, especially computer engineers, focus on the machines. They think, “By doing this, the machine will run faster. By doing this, the machine will run more effectively. By doing this, the machine will something something something.” They are focusing on machines. But in fact we need to focus on humans, on how humans care about doing programming or operating the application of the machines. We are the masters. They are the slaves. – Yukihiro Matsumoto"
Rachman Walker
12,517 Pointsx = "I concur!" puts x
stephen grider
1,853 PointsJustin-
The question is asking you to do the following: (note this is pseudocode)
saying = concatenation( first, second, "dog");
In other words, concat the array "first" to the array "second". Then, concat "dog". So, if my array "first" was [1,2,3] and my array "second" was [4,5,6], I would expect the result to read [1,2,3,4,5,6, "dog"].
Rachman Walker
12,517 PointsRachman Walker
12,517 PointsI wholly agree. Many of the sentences in the JavaScript Foundation challenge questions are poorly-written and [unintentionally] confuse rather than enlighten.