Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 1d79613043fc8e9b94e422e6f38ae52c?d=https%3a%2f%2fidenticons.github.com%2f27868fa390becd7618b614dd03e3f8da

    This is simple and elegant and does what it says on the tin. A+.

  • Profile pic

    we need new vote solution like: readability

  • Profile pic

    Oh...ok. LOL

  • Profile pic

    Nice and beautiful

  • 14909989?v=3

    " and ' has literally no differences in JS.

  • 6046921?v=4

    You use "" for split but '' for join.

  • F3c6151d6f7ec94713b68c310872c207?d=https%3a%2f%2fidenticons.github.com%2f84342aabcd929f1547e33729ebd8fc84

    It's a bad thing we can't check that coincidence

    Nope, that’s absolutely not how it works.

    The burden of proof lies entirely with the person who makes the allegations, i. e. you.

    So it’s not “a bad thing we can’t check”. The only thing that may be unfortunate here is the fact that you’ve decided to jump to conclusions instead of substantiating your claims.

  • 3665266?v=3

    "So you’re saying the solution is so easy that it constitutes cheating?"

    If that's the case it shouldn't have to be in this category

    "So you’re saying the solution is so difficult that > 100 people can’t possibly have come up with it independently without using Google?"

    It's a bad thing we can't check that coincidence

  • F3c6151d6f7ec94713b68c310872c207?d=https%3a%2f%2fidenticons.github.com%2f84342aabcd929f1547e33729ebd8fc84

    but the idea of having such problem is to actually code the solution.

    So you’re saying the solution is so easy that it constitutes cheating?

    Try Googling Rot13 Ruby you'll find exactly the same.

    So you’re saying the solution is so difficult that > 100 people can’t possibly have come up with it independently without using Google?

  • 3665266?v=3

    Probably the author is not aware of such method in Ruby, but the author mentioned that using 'encode' in python was considered cheating(for instance). If you would have done that in python it would be as easy as writing string.encode('rot13'). I know Ruby has bunch of methods and the language itself is quite simple to use but the idea of having such problem is to actually code the solution.

    The reason I accuse others for using the same solution is just because you can find it in StackOverflow or any other website. Try Googling Rot13 Ruby you'll find exactly the same.

  • 14909989?v=3

    If you think this is cheating, go code in C. This is Ruby, and it's done like this in Ruby.

    Also, if the kata author have not actually disabled the relevant built-ins, it's considered not disabled no matter how the kata author says otherwise. As the old saying goes, show, not tell.

  • 3665266?v=3

    This is obviously, cheating. You're not suppossed to use ruby's methods that already solve the problem, you're supposed to code your own solution by thinking, not by copying and pasting what you first find in Google.

  • 2911988?v=4

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

  • 9130211?v=3

    You should always make sure to declare your variables (stringToArray) with var, let, or const, otherwise it will be attached to the parent scope.

  • 15801281?v=3

    For more shorter ;-)

  • Loading more items...