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.
How does this work?
we are supposed to fix the code!!! NOT write a new one....
I agree with waldnzwrld. that is not the porpus of this kata.
good one!!!
spoiler flag, plz...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I don't care about the shame, this is not about me being arrogant and a total prick to you just so i try to look better or whatever you misinterpreted. It is about an url in a one sentence description. What kind of docs/specs/requirements have that little amount of information? Even the String to_s has more info though you don't need any explanation on calling a string representation method on a string object. And also beginners don't know about that the drop_while method is part of the Ruby API, so they don't assume they need to search docs/info for it, and even if they would, searching Google for solutions to these katas defeats their purpose. I understand that my first reply(that was written 1 yr ago) was wrong, i got it, i redid the kata, i found out about the drop_while method in the Ruby API, but then i saw other comments and re-raised the issue.. Sorry to have pissed you off mate, but you need to be more responsive to people needs, even if you don't really solve them. Now I am still waiting for a proper description, since this kata is for beginners. I can suggest one if needed. Again this is not about me being smart or arrogant, I just saw other people having the same issue, and I am being pushy about this improvement.
This kata is about
drop_while
, notfilter
.Come back when you've learnt to read the specifications, because obviously you don't and you're acting arrogantly like as if you do perfectly. You don't, so just shut up and don't bring yourself even more shame than you already have brought upon yourself.
(Yes, I'm being harsh there because of FUDs around beginner
8kyu
katas and the annoying players ofCodeWars Fun: Arrogance
. My gentleness is reserved for the more deserved people who actually know what they're doing.)@Voile, really 'helpful' mate, I appreciate that you took the time to reply by denying the problem with the description to me and everyone else here
You're misunderstanding how
drop_while
works.Looks like you need to study more on
8kyu
katas ;-)the ^ is a logical xor not a bitwise xor
It'll return false, as it wouldn't be a valid tail:
make sure that the second argument (tail), is the same as the last letter of the first argument (body)
What if tail.length > 1?
thanks ;)
Loading more items...