• 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
bernie_haxx Avatar
Name:Ben Karanja
Clan:Moringa School
Member Since:Jun 2018
Last Seen:Nov 2024
Profiles:
Following:397
Followers:396
Allies:396
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (11)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • azotamiota
    • commented on "Next smaller number with the same digits" python solution
    • 3 years ago

    My solution's algorithm is pretty similar, but I used descriptive variable names and added comments!
    Every programmer can write codes that's understandable by computers,
    a good programmer writes codes that's understandable by humans...

  • Custom User Avatar
    • lechevalier
    • commented on "Next smaller number with the same digits" python solution
    • 3 years ago

    Don't hesitate to fork it.
    If you can make it clearer by refactoring the algorithm - not only by adding comments, I'm sure it will beneficiate to other users

  • Custom User Avatar
    • JoseTomasTocino
    • commented on "Next smaller number with the same digits" python solution
    • 3 years ago

    Solution is certainly clever, but "best practices"? It's barely readable.

  • Custom User Avatar
    • user5533680
    • commented on "get character from ASCII Value" python solution
    • 4 years ago

    I've actually seen solutions like this before, but I still don't fully understand them...

  • Custom User Avatar
    • cronosnyx
    • commented on "Next smaller number with the same digits" python solution
    • 4 years ago

    omg why is it so hard for me to understand

  • Custom User Avatar
    • Archila
    • commented on "Bouncing Ball" python solution
    • 6 years ago

    wat? :O

  • Custom User Avatar
    • preactive
    • commented on "get character from ASCII Value" python solution
    • 6 years ago

    I think its fine. Should there be other iterations under different katas, sure.
    But for someone who is brand new to codeing getting exposure to the basics and googling for answers is a great start because starting anywhere is great.

  • Custom User Avatar
    • shoark7
    • commented on "get character from ASCII Value" python solution
    • 6 years ago

    Just assigning the function to another... Brilliant.

  • Custom User Avatar
    • user4757353
    • commented on "get character from ASCII Value" python solution
    • 6 years ago

    It could at least inroduce a simple way of usage.
    No point making challenge for showing one there is a method.
    If you want to show it, make a challenge where it is used and give a link to a material or mention the method.

  • Custom User Avatar
    • pbldmngz
    • commented on "get character from ASCII Value" python solution
    • 6 years ago

    kyu8 men

  • Custom User Avatar
    • bernie_haxx
    • commented on "Remove First and Last Character" kata
    • 7 years ago

    hi, i just echoed $1 and it worked fahm..is it a bug or something?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...