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.
This comment is hidden because it contains spoiler information about the solution
For example?
Depends on the situation and constraints
is fmt.Sprintf a good way to save a value?
Actually, your solution is DRY in the runtime sense but the solution above is actually more DRY in terms of code since you don't have to repeat certain things.
This comment is hidden because it contains spoiler information about the solution
nasty!
Broooo!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
which is why this is predominantly voted a clever solution
I hope you know what a sense of humor is
There are too many things wrong with this translation to run the risk of it being approved by accident, hence the rejection.
You don't have random tests and you have initial code in
Preloaded
. Please read documentation, read tests and preloaded on other TS kata, and next time please make sure to ask for a thorough review from a reviewer that's fluent in TypeScript ( which I'm not ). You may have made mistakes I did not point out ( or even notice ).This translation can never be unrejected, but you can still fork it to start improving it. Pay particular attention to the description; LC has modified it in the meantime and changes will have to be merged correctly ( just copy the current description from the kata editor ).
Missing space after '#' comment lines
mutating the original input object doesn't look like a good idea...
Loading more items...