• 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
hmccabe Avatar
Name:Hayden McCabe
Clan:Point Breakers
Member Since:Nov 2016
Last Seen:Dec 2023
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
Ad
Educator, struggling to assess your students?
Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (2)
  • Needs Resolution
  • Custom User Avatar
    • hmccabe
    • commented on "Esolang Interpreters #4 - Boolfuck Interpreter" kata
    • 6 years ago

    The Swift version uses the default variable name "tape" for the user input string. This is potentially confusing. I would recommend that this be changed to "input" to match the implementation in other languages.

  • Custom User Avatar
    • hmccabe
    • commented on "Give me a Diamond" swift solution
    • 6 years ago

    Good catch! Just using size % 2 == 1 would work.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...