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.
What are the best practices here? I don't say there are not, I just want to know what they are to lern about best practices
I was doing similar and kept getting erros i guess was cause i was using bacticks to interpolate ``
I am reading about regular expressions now, it starting to make sense. Thanks!
This is the syntax of regular expressions, you have to search about this topic if you don't know it.
This comment is hidden because it contains spoiler information about the solution
em.....Brilliance!
Learning the built in libraries is important, but I feel this solution skirts around the problem. i.e) If the function name in the sort library was InAscOrder instead of IntsAreSorted, then you would call "return sort.InAscOrder(numbers)". Do you see my point? If you think I'm wrong, please let me know the time complexity of your solution.
Elegant.
I like it too
This will add a space before every capital letter regardless of whether it is part of a camelcased word...
This was my feeling too.
All is fair in passing tests, even if the environment is totally unusable afterwards.
This comment is hidden because it contains spoiler information about the solution
Wow, very elegant!
Returning
nil
from a method which clearly should return eitherfalse
ortrue
can lead to bugs. E.g.alphanumeric?(s) == false
wouldn't work as expected.Nah, that’s fine. Collateral damage.
Loading more items...