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.
Implemented it
Oh, that's a great use of lazy! Thanks for the suggestion, will apply it to the solution :)
Sure thing! This is the Ternary Operator, it's basically a single line if condition. The question mark asks whatever is on it's left if it's true or false. It then tells the colon to pick whatever is to it's left if the condition is true, or to it's right if the condition is false
You should take a look at the official Swift documentation https://docs.swift.org/swift-book/LanguageGuide/BasicOperators.html. You can search for Ternary and you'll find whatever you're looking for
Yep, this is mostly a math challenge
Cool! Will do xD
Oh, haven't seen that one. Should I delete the one I created?
Fixed
Sure! Sorry for the late response. Will be going over my translations and improving them following your advices :)
Also, thanks so much for the explanation! Really feeling into the community now :)
Great suggestions, I've implemented them all :)
Another question, I read on the wiki that the translation should purely translate the original kata. That means the less creativity the better. Although I agree that the assertion messages are and improvement and helps a lot when debbuging, I can't stop myself to think about where the line is drawn. When is creativity a good thing on translations, and when is it not?
Sorry, but I couldn't find where is it missing assertion message, could you please indicate that? I'd be happy to improve the tests :)
Swift Translation kumited :) Please review and approve
Swift Translation kumited here. Pleased review and approve :)
This comment is hidden because it contains spoiler information about the solution
Great suggestions! Kumited both :)
Function arguments and return types must be doubles
Loading more items...