Ad
  • Custom User Avatar

    @tobbe0xFF to add some additional background, the JS version was the original language this kata was written in. When I wrote the Python translation, it was not exactly faithful to the JS version because of the difference you noted. The other languages are based on the Python translation, which leads to the JS version standing out from the crowd. But the point of the kata is to solve a single concise task.

    Also, there are some choice solutions that have made it into the pool of user submissions that others can benefit from seeing/sharing.

  • Custom User Avatar

    Thanks for your comment. Without it, I wouldn't have passed the kata.

  • Custom User Avatar

    I see your point, but the intent of this kata is to solve the challenge without imposing constraints on how to do it. It's basically a kata that introduces metaprogramming for some particular language.

    Also, with the JS completions currently at a count of 227, removing that language is not really viable.