• 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
BAAMMM Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2018
Last Seen:May 2024
Profiles:
    Following:0
    Followers:1
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (25)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • BAAMMM
      • commented on "Regular Ball Super Ball" python solution
      • 14 months ago

      Yes, you are right. Since Python 3.12, type is a soft keyword. Overwriting soft keywords within a scope is bad practice. However, when I wrote this code, type wasn't a soft keyword. That's a typical problem with legacy code. :)

    • Custom User Avatar
      • oleg1248
      • commented on "Regular Ball Super Ball" python solution
      • 14 months ago

      There's already a callable named type

    • Custom User Avatar
      • BAAMMM
      • commented on "Person Class Bug" python solution
      • 2 years ago

      Perfectly balanced, as all things should be.

    • Custom User Avatar
      • Farhodjonnn
      • commented on "Person Class Bug" python solution
      • 2 years ago

      what are you doing bro

    • Custom User Avatar
      • AlanJamesLPu
      • commented on "Grasshopper - Terminal Game Turn Function" python solution
      • 3 years ago

      Will this looping over method works for all kinds of user defined functions??
      If it works, it would be so great

      Thanks in advance..

    • Custom User Avatar
      • BAAMMM
      • commented on "Are You Playing Banjo?" java solution
      • 3 years ago

      Its allways better to check like
      if(name == null) throw new IllegalArgumentException("name must not be null");
      even if the description says that only valid strings appear

    • Custom User Avatar
      • BAAMMM
      • commented on "Third Angle of a Triangle" java solution
      • 3 years ago

      You can use Math.abs(value) for the absolute value.

    • Custom User Avatar
      • BAAMMM
      • commented on "Never visit a . . . !?" kata
      • 3 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • BAAMMM
      • commented on "Fun with lists: lastIndexOf" java solution
      • 3 years ago

      I think this is a good solution, but there are two points to improve it.

      First you can use the variable head instead of currentNode for better readability and secondly if currentNode.data is null you will get an NullPointerExceptioin because you used rightly equals(). So you have to check if currentNode.data is not not null and continue the loop if data is null.

    • Custom User Avatar
      • user7137655
      • commented on "Grasshopper - Terminal Game Turn Function" python solution
      • 3 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • trashy_incel
      • commented on "Sort Numbers" kata
      • 4 years ago

      it's spelled Qatar

    • Custom User Avatar
      • BAAMMM
      • commented on "USD => CNY" python solution
      • 4 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • BAAMMM
      • commented on "All Star Code Challenge #18" python solution
      • 4 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • BAAMMM
      • commented on "Find the position!" python solution
      • 4 years ago

      When you get paid for lines of code ....

    • Custom User Avatar
      • BAAMMM
      • commented on "Remove All The Marked Elements of a List" python solution
      • 4 years ago

      I think this solution is good, because it's returns the origin List instead of a new List. It's not totally clear whether to return a new list or the original one.

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...