• 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
Arthurio96 Avatar
Name:Arthur
Clan:Unknown
Member Since:Oct 2023
Last Seen:Jun 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (10)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Arthurio96
    • commented on "Number of People in the Bus" ruby solution
    • 2 years ago

    Best practice for sure!

  • Custom User Avatar
    • Arthurio96
    • commented on "Sum of odd numbers" ruby solution
    • 2 years ago

    For some reason I didn't understand this. In the end I did it through laziness.

  • Custom User Avatar
    • Arthurio96
    • commented on "Detect Pangram" ruby solution
    • 2 years ago

    What do the question marks in front of letters mean? (?a..?z)

  • Custom User Avatar
    • Arthurio96
    • commented on "Decode the Morse code " ruby solution
    • 2 years ago

    I think this is the best solution, since everything is done here in one loop. Genius!

  • Custom User Avatar
    • Arthurio96
    • commented on "Unique In Order" ruby solution
    • 2 years ago

    You can also use the group_by method

  • Custom User Avatar
    • Arthurio96
    • commented on "Stop gninnipS My sdroW!" ruby solution
    • 2 years ago

    The road will be mastered by the walking one, so don't worry much.

  • Custom User Avatar
    • Arthurio96
    • commented on "You're a square!" ruby solution
    • 2 years ago

    The best ruby-way

  • Custom User Avatar
    • Arthurio96
    • commented on "Get the mean of an array" ruby solution
    • 2 years ago

    The sum method in this case is more concise and works faster than inject.

  • Custom User Avatar
    • Arthurio96
    • commented on "Jenny's secret message" ruby solution
    • 2 years ago

    Use single quotes unless string interpolation is required.

  • Custom User Avatar
    • Arthurio96
    • commented on "Return Negative" ruby solution
    • 2 years ago

    Yes. But another question: is it best practice to use such a non-concise code? You must remember the order of operations. In my opinion, it is really hard to read. I would use parentheses instead.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...