• 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
mochii Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2022
Last Seen:Oct 2024
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
    • pearcebasmanm
    • commented on "Fix the code" kumite
    • 12 months ago

    It doesn't seem to be bad at all. There are always nitpicks like an unecessary .to_string() before parsing and type hint that would have been inferred, but it looks like pretty standard Rust code.

    Though I do wonder, if you wanted to write a Perl solution, why not fork it in that language directly?

  • Custom User Avatar
    • JavaScripts
    • commented on "Fix the code" kumite
    • 12 months ago

    Thanks, I'm really not very good at Rust as you can probably tell.

  • Custom User Avatar
    • pearcebasmanm
    • commented on "Fix the code" kumite
    • 12 months ago

    Just so you know, the purpose of .expect("text goes here") is to provide context if the unwrap panics. If you don't feel the need to provide context, a simple .unwrap() makes more sense.

  • Custom User Avatar
    • mochii
    • commented on "Count IP Addresses" rust solution
    • 13 months ago

    damn, the standard library...

  • Custom User Avatar
    • mochii
    • commented on "You Can't Code Under Pressure #1" rust solution
    • 14 months ago

    ah yes the DRY principle... what if we will need to use it again?

  • Custom User Avatar
    • mochii
    • commented on "You Can't Code Under Pressure #1" kata
    • 2 years ago

    that was ez

  • Custom User Avatar
    • syukron
    • commented on "Count by X" kata
    • 2 years ago

    This is my first time use codewar. Any suggets what should i do next?

  • Custom User Avatar
    • syukron
    • commented on "Count by X" kata
    • 2 years ago

    same, this is my first time use codewar. Any suggets what should i do next?

  • Custom User Avatar
    • mochii
    • commented on "Count by X" kata
    • 2 years ago

    it wasnt clear to me at first that the memory was already allocated lol

  • Custom User Avatar
    • mochii
    • commented on "Total amount of points" kata
    • 2 years ago

    yo this one is real hard

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...