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.
I have to agree with this.
Neat use of a lazy stream ^^
This comment is hidden because it contains spoiler information about the solution
Brilliant!
It appears I am still a noob at clojure compared to the nicely written, functional implementations for this :)
Darn. Did the tests include an empty list to test dividing by 0?
Yup woulda been nice to know. Thanks for the pointer!
Very nice! I was a dummy and wrote out a whole new function for currying the "years" value in.
I do agree with chandlerroth here, I don't think he meant to be insulting in any way. This code, if come across in an actual code base, would stop me in my tracks and would demand refactoring or renaming. I am new here, so I am not exactly sure what the target is here at codewars but I don't see how so many people find this solution as "best practice".
This comment is hidden because it contains spoiler information about the solution