• 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
RobP Avatar
Name:Unknown
Clan:Old Mutual
Member Since:Nov 2015
Last Seen:Jun 2025
Profiles:
    Following:4
    Followers:4
    Allies:4
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (11)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • trashy_incel
      • commented on "Casting binary float to integer" c solution
      • 2 months ago

      yes it is. the correct way to do it is via either union type punning, or memcpy()

    • Custom User Avatar
      • ixnomad
      • commented on "Casting binary float to integer" c solution
      • 2 months ago

      this is technically UB

    • Custom User Avatar
      • kapisikapali
      • commented on "Square Every Digit" c solution
      • 3 years ago

      good

    • Custom User Avatar
      • RobP
      • commented on "Oseguera's Reverse Integer Kumite " kumite
      • 4 years ago

      Why not use recursion?

    • Custom User Avatar
      • RobP
      • commented on "V A P O R C O D E" c solution
      • 4 years ago

      *dst++ = ' ' means set the character that dst is pointing at to ' ' and then forward the address of dst one character.

    • Custom User Avatar
      • Ivan_Ivanov
      • commented on "V A P O R C O D E" c solution
      • 4 years ago

      What does it mean dst++=...?

    • Custom User Avatar
      • RobP
      • commented on "Beeramid" kata
      • 5 years ago

      It's fun to solve this kata in C and without using loop constructs.

    • Custom User Avatar
      • RobP
      • commented on "Multiplying numbers as strings" c solution
      • 5 years ago

      Good one. You just need to free the allocated memory for sx and sy. The caller is responsible for freeing sz - that would be the test suite. In fact, the caller should have allocated the necessary memory for the result too.

    • Custom User Avatar
      • Voile
      • commented on "Validate Credit Card Number" csharp solution
      • 6 years ago

      There are no 5 loops, or loops in general. Linq is a bunch of enumerators that may accept some things piped in and yields some results one by one. So even if you insist on claiming there are "loops", there's only 1 of them.

    • Custom User Avatar
      • Axesilo
      • commented on "Validate Credit Card Number" csharp solution
      • 7 years ago

      But watch out for the classic rookie fallacy - assuming that having one loop where you do five things per iteration is innately superior to having five loops where you do one thing per iteration.

    • Custom User Avatar
      • RobP
      • commented on "Validate Credit Card Number" csharp solution
      • 7 years ago

      Short, concise and easy to read but, if I'm not mistaken, I see 5 loops here where it could be done in one.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...