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.
Elegant, but not best practice because iterative solutions should be preferred over recursive ones.
My apologies, I didn't express my self clearly enough (I was typing it at 3am). What I wanted to say that: this code is much clear and easier to understand than "oneliner". When you have a team of 10 developers working togather it is imortant so everyone understends code quikly.
Thank you for your comment, it was useful!
As a developer I would say this is one of the closest code that I would like to have submitted by my employees.
The one line code is not readable from first glace and not self explanatory.
Can't.
Description cannot be approved, recent changes from related record must be merged first.
@omegahm: I approved your translation. Can you approve my C# translation?
Can't approve my own translation. :)
This looks good to me. Any reason why this hasn't been approved yet?
Many thanks for your contribution; reviewed and approved :D
Okay, I just implemented the changes. Let me know what you think!
Hi Donald.
next_node
becausenext
is a reserved keyword in Ruby, equivalent tocontinue
in other languages.next
tonext_node
in the Description.nil
in the appropriate places in Description.Many thanks for taking the time to translate my Kata into Ruby; however, there are a few things that need to be modified/clarified before it can be approved:
next
/Next
property to access the next node in the linked list so I'm not sure why Ruby usesnext_node
instead?next_node
exception in Ruby, please update all relevant parts of the Description wherenext
/$next
/Next
is mentioned to include the Ruby version as well, like such:next
/$next
/Next
/next_node
.null
/NULL
/None
" to include the Rubynil
- I think you missed a few instances in the middle of the Kata Description.100.times
block or something).Ruby translation
Please review and hopefully approve!
Thanks!
Ruby Translation
Please review and hopefully approve!
Loading more items...