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.
The code should be always readable, no matter how expert is the reader would be. The only exception is when the code itself must be small like when your code will be run on a target with extreamly limited resources (like a smart card chipset or an IOT device for example)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This wil crash on passing
0
Clever! but can cause performance hit and also not works in reality where something other than Braces involves.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
What was your code?
Best use of the native APIs. Very clever
The task wanted to "Store" the totalGoals in a separate variable. Computed properties does not store anything
This way you can even calculate the grade for any number of scores without any change in the existing tests!
Sounds cool right?
The test case is nonsense and tests nothing
Sorry @Chrono79. I'm new to the community.
This issue belongs to Swift as @ogryzek said.
Loading more items...