• 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
drcomaneci Avatar
Name:Dragos-George Comaneci
Clan:Ixia
Member Since:Jun 2014
Last Seen:Jul 2019
Profiles:
Following:6
Followers:8
Allies:6
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (19)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • philthehuman
    • commented on "Is a number prime?" ruby solution
    • 5 years ago

    It's clever in a humourous sense I'd say.

  • Custom User Avatar
    • MrJonesIsMe
    • commented on "Is a number prime?" ruby solution
    • 5 years ago

    If I needed to do this in real life of course I would do this, but why would you need to create the function 'isPrime' if you were going to use a library function. Lol this is not clever.

  • Custom User Avatar
    • Adsidera
    • commented on "Is a number prime?" ruby solution
    • 5 years ago

    Exactly..that is a good practice!

  • Custom User Avatar
    • razorace
    • commented on "Unary function chainer" python solution
    • 5 years ago

    An example is given in the problem description

  • Custom User Avatar
    • mattstermh93
    • commented on "Unary function chainer" python solution
    • 5 years ago

    how woudl I call this

  • Custom User Avatar
    • blefev
    • commented on "Is a number prime?" ruby solution
    • 6 years ago

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

  • Custom User Avatar
    • jeporcher
    • commented on "Is a number prime?" ruby solution
    • 7 years ago

    It's sad that this is the most upvoted solution.

  • Custom User Avatar
    • justinddaniel
    • commented on "Is a number prime?" ruby solution
    • 7 years ago

    LOL, seems not quite in the spirit of the kata, but yes this works!

  • Custom User Avatar
    • Eddienewpath
    • commented on "Is a number prime?" ruby solution
    • 7 years ago

    why is this so upvoted?

  • Custom User Avatar
    • worldnamer
    • commented on "Two Joggers" ruby solution
    • 8 years ago

    This really should be the top rated answer.

  • Custom User Avatar
    • mystery
    • commented on "Is a number prime?" ruby solution
    • 8 years ago

    I LOVE Ruby

  • Custom User Avatar
    • fmmatheus
    • commented on "Is a number prime?" ruby solution
    • 8 years ago

    This kata asks for problem solution, not to create a raw method without any library.

  • Custom User Avatar
    • AFP
    • commented on "Is a number prime?" ruby solution
    • 9 years ago

    Why is this clever? This is just a library... 0% clever.... But a good practice though. Don't reinvent the wheel.

  • Custom User Avatar
    • timrooke1991
    • commented on "Is a number prime?" ruby solution
    • 9 years ago

    Ergh..

  • Custom User Avatar
    • ScientificProgressGoesBoing
    • commented on "Is a number prime?" ruby solution
    • 9 years ago

    Kinda thought should be from first premises...

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...