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.
It is not mentioned that empty user names after trimming should be filtered.
Post deleted. Unsorted didn't occur to me :-)
Javascript
Excactly how are the entries to be sorted? I thought it was order id -> reverse alphabetical/ascii
I can't get past random - the entries there do not look sorted on order id. From my log :
Name/id pairs should be tuples in the languages that have them (Python).
Thanks for the translation and sorry for the late response. Approved.
python translation:
https://www.codewars.com/kumite/5f8575e485311d002364a2a5?sel=5f8575e485311d002364a2a5
Well, there's your solution with ( well, partially ) Ramda.
I also voted my conscience, not because I dislike programming with restrictions - that's a matter of personal preference - but because you prohibit
function() {}
and() => {}
syntax but not theClass
and{}
wrappers, which are just too thin for my liking. If you want to properly disallow function syntax, I think you have to disallow those as well ( which leaves pointfree programming as a solution ).Just to be sure, pointless and pointfree are entirely different things.
I have not looked at the solutions and tests. Maybe I will yet. Or I might solve it after all ( it's not that I can't, I just don't enjoy programming with restrictions ).
Sorry for the bothering, but I've updated the kata so no
eval
mess needed anymore. The solution now can be sent in a 'normal' way.Sorry for the bothering, but I've updated the kata so no
eval
mess needed anymore. The solution now can be sent in a 'normal' way.Sorry for the bothering, but I've updated the kata so no
eval
mess needed anymore. The solution now can be sent in a 'normal' way.@Blind4Basics I updated the kata, thanks. I didn't find any docs in the wiki about reading the solution, so implemented it by myself. So if anyone has enough permissions to view the kata's source, I would appreciate any feedback.
by reading the solution file.
Thanks for the catch. Fixed.
Thanks for the feedback! Sorry if you were annoyed with the
eval
mess, but how else do I get user input? :)I disagree that this is pointless. While solving this kata, the competitor learns some interesting and useful concepts and language features (have you seen the original solution?).
I would be glad to see some solution with
ramda
import, if it passes the tests — then it is valid.Loading more items...