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.
This comment is hidden because it contains spoiler information about the solution
can someone please explain to me why we needed minor_words = ''
instead of just leaving it as minor words
I understand that because you added the = '' the solution worked, because i actually got an error without it
you don't technically need the parenthasis either when you have no argument to pass. so title.capitalize.split.map would be just as operational here.
kick-ass one line code! Cool!
I totally agree with you, readability is part of maintainability. Check my solution:
https://www.codewars.com/kata/reviews/5202f9e6a402dd033c00002a/groups/578d479b466bb4c34d00003a
with all due respect, one of the most important factors in writing better code is "readablity".
It is the same as split(" ") and split
Ok, got it.
I'm new here. Is it normal to get everything right on the Tests and Submit to fail? Obs: using Ruby