Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
one question. I was looking about the join and best practices. But I have not found any info.
Why is not a best practice the use of join? do you have a link or a little explanation about that, pls :)
Well done Nick ! Keep it up !
This comment is hidden because it contains spoiler information about the solution
Not a big fan of Best Practice here as join() is used 3 times...
why remake the wheel
when on the Great Vehicle
is always a way?
I learned this method only because of this kata, and reading a Ruby book. I remembered this kata when I was looking around the array cap methods. It was useful to me, that I know.
In my opinion it's a great way to learn the Ruby Core API as I'm new to Ruby.
For the first some katas I coded in Java style, but after I saw some really good and compact solutions I started to read more carefully the Ruby doc :)
I would've thought the whole point was to avoid using the existing flatten method.
Guess anything goes, as long as it works and is within the constraints.
Nice. I guess I learned something today!
I guess that'll teach me to check the docs before going to a lot of trouble. In any case, thanks for the 1UPs guys. :D
Wowzers. That is some serious effort. One one hand I want to commend you and on the other I want to tell you to take a closer look at the standard library. One of the reasons Ruby can be written in such a concise manner is because of it's very powerful and robust standard library. There are methods for everything it seems. Good luck in your journey!
+1 for Archer because he worked hard.
Yup.
What! WHAT! WHAT?!?!?!?! Are you freakin' kiding me!? How can it be that easy? *facepalm