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.
yes but ruby probably created like 1 million objects under the hood which is why this is the slowest lol
Well I'll be damned...
seriously!? :)
While that might be true, it does not affect the validity of my statement. This result is not best practice and students should be aware of that fact when seeing all those "Best Practice" buttons being hit.
Originally the translator used camelCase, and it was like that before it was changed. The solver could only change the argument's name.
This is NOT best practice, since it uses camelCase instead of snake_case for the method and argument, which is against the Ruby Style Guide, see rubystyle.guide > Naming Conventions.
I ❤️ Ruby
awesome !!!! :)
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
What's the difference with
.detect
?why don't you have to include "self" before the methods?
This comment is hidden because it contains spoiler information about the solution
This kinda defeats the purpose, but still the right call nonetheless
omg I tot it will only remove the first instance of the element it found! Didn't realise it will remove all element...
Loading more items...