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.
JS: Node v12 should be used enabled along with its appropiate assertion tools (Mocha + Chai).
JS: No random tests
What is a "normally capitalised"?
How to identify if a word is a brand name and which rule should we apply when there's a conflict? For example: "iPhone", It's both a brand name and a camelCase word.
Lastly, why should "7Up" should get censored despite being initialized with a digit, not uppercase? Do brand names have higher priority than the main task of the kata itself?
The task is really badly explained, I could solve the kata only by tweaking and observing tests results but I see no logical in it. Why and how are we supposed to replace dots? Why iPhone -> iPhone, but 7Up -> _U_ ?
I'll remember next time. Thanks
Use spoiler flag, your posts in a solution are visible in the homepage otherwise, and you're showing several solutions at once.
This comment is hidden because it contains spoiler information about the solution
I did not know this. By how much it's slower/faster? Let's say you have a list of 10,000, by how much does it differ? Mhm, let's try this out.
what about access to variable in closure is slower then in local (parameter) context ?
Why access the 3rd parameter when it's already available in the function's closure? XD I'm not aware of any especially good reason to prefer one solution over the other. I find it a bit cleaner using just those two parameters, list and dev, over using 4 “isSameLanguage(list), every((one, two, three) =>”.
why accessing list variable from closure when it is available as 3rd parameter in every ?
Thank you for translating my kata! I have approved the CoffeeScript, Ruby and Crystal translations.
Wihin the Python translation, I noticed that the code within "Example test cases" has been cut off in the third example case. I attempted to create and publish a fork where I fixed this, but because the solution code was identical to your version, it wouldn't allow me to publish it (at least I assume that's the issue - when I clicked "Publish" I received an error message stating "Code must be unique from parent"). Could you edit this within your fork?
Cofeescript translation available here, you can review and accept if ok.
Ruby translation available here
Crystal translation available here
Finally Python translation available here
Thank you! I'm glad you enjoyed it :)
Nice first kata! Thanks!
Loading more items...