• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
kirushik Avatar
Name:Kirill Pimenov
Clan:LeproRuby
Member Since:Feb 2014
Last Seen:Apr 2017
Profiles:
Following:16
Followers:17
Allies:16
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (8)
  • Needs Resolution
  • Custom User Avatar
    • kirushik
    • resolved an issue on "Digit-by-digit number" kata
    • 9 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • kirushik
    • commented on "A tetrahedron of cannonballs" javascript solution
    • 11 years ago

    But that's exactly what a best practive is — chosing the best-suited answer from a number of different ones.
    In my real code I would like to have this one, not any other one. Thus, this is the best practice.

    (And yes, googling for the formula instead of taking a straightforward looping path is a good habit to have, IMO.)

  • Custom User Avatar
    • kirushik
    • commented on "Digit-by-digit number" kata
    • 11 years ago

    Fixed.
    I should be ashamed, taking in account I've been pointed on the same issue 3 months ago.

  • Custom User Avatar
    • kirushik
    • commented on "Digit-by-digit number" kata
    • 11 years ago

    Thanks for your feedback.
    I guess the tests are already fixed.

  • Custom User Avatar
    • kirushik
    • commented on "Digit-by-digit number" ruby solution
    • 11 years ago

    Great, more clever than original one I've suggested!

    Perharps each_with_index {|method, i| instead of each_index {|i| and self*10+i instead of (self.to_s+i.to_s).to_i can make it even more efficient.

  • Custom User Avatar
    • kirushik
    • commented on "Partition On" kata
    • 11 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • kirushik
    • commented on "Palindrome" kata
    • 11 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • kirushik
    • commented on "Make this kata pass" ruby solution
    • 11 years ago

    Pretty destructive, I must aassume.

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...