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.
Not the right place but I don't know another place to post you.
Can you have a look at your Scala translation of "Perimeter of squares in a rectangle": https://www.codewars.com/kata/559a28007caad2ac4e000083/discuss/scala
An issue is posted about Scala. Thanks!
An edge case test with
money == 0
should be added.Please review and approve Rust translation (https://www.codewars.com/kumite/5f8b41f7272e7a0023bb283f?sel=5f8b41f7272e7a0023bb283f)
I like the clever arithmetic. This might be the most efficient, as it doesn't use an intermediate collection.
Please review and approve Rust translation (https://www.codewars.com/kumite/5eb67e3a9b138200255ffa74?sel=5eb67e3a9b138200255ffa74)
Please review and approve Scala translation (https://www.codewars.com/kumite/5eaebbce9a4f1f002d4ec583?sel=5eaebbce9a4f1f002d4ec583)
Approved. Thanks!
Done. New fork for Scala translation
https://www.codewars.com/kumite/5e83773dfc9cc800348a6548?sel=5e83773dfc9cc800348a6548
I'm getting "Description cannot be approved, recent changes from related record must be merged first."
I think you need to create a new fork.
Please review and approve Scala translation (https://www.codewars.com/kumite/5a715163fd8c06065d00006e?sel=5a715163fd8c06065d00006e)
I just saw this one too. I approved it to replace "Magnets". Next time ask before translating. Thanks for your time.
I have just discovered your translation when, having written mine, I wanted to publish it. I am very sorry but usually I translate myself my own katas when I know the language I am translating into and from my Java translation to Scala it is not very difficult... Maybe it would be better to ask before translating? Do you have any other translation of one of my katas that it is not approved yet? If so tell me and I will approve it instead of this one. Cheers!
Also I would like to mention the code's weak readibility.
Right. I know that but I mistakenly let it from another program. Unable to re-publish: CW Scala is so slow that it always times out.
Thanks for your post!
Not about the kata or solution but ...
"lazy" don't give you any advantages here. Because in the next line the whole expression will be executed completely.
If you want to filter your zipped lists step by step just to the first "right" item you should use "streams" in Scala.
Loading more items...