Ad
  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    I appreciate your apology. I'm also sorry if I discouraged you in any way. I think you wrote a great kata, and I think that your work will help others learn and hone their skills.

  • Custom User Avatar

    Frankly speaking, I don't know how to edit comment as an issue...

  • Custom User Avatar

    Nvm, just added a new comment.

  • Custom User Avatar

    For Ruby, the random XOR test is showing the wrong solution. Everything else seems to be properly functioning.

  • Custom User Avatar

    Sorry for my former comment (about basic knowledge). This is my first approved kata and I never expected that I have to resolve so many issues about it. That's why I eventually a little lost self-control. Best wishes

  • Custom User Avatar

    Forgive my ignorance, but how do I edit my comment as an issue, or do I need to make a new comment?

  • Custom User Avatar

    I was just trying to provide some advice from my perspective. It's fine if my advice is not taken; I was just trying to help others out. I'm just not sure why people are so eager to try and disprove my opinion with purely anecdotal reasoning.

    I grew up in an upper-middle class environment with a highly-ranked public school system, and I graduated from a reputable university with a B.S. in mechanical engineering and an M.A. in economics. I never learned about these operators. The logic behind these operators is not hard to understand and I never said it was, but some people might not be aware of them when they're first beginning to learn how to program in JS. Again, I was just trying to help out others who are practicing the fundamentals of JS by attempting a problem that is pubicly catagorized as the lowest difficulty allowable on this platform.

  • Default User Avatar

    You're welcome! :-)

  • Custom User Avatar

    Maybe mark this as Issue, so that everybody can see before submitting code that sth is wrong with kata...

  • Custom User Avatar

    I had issues with the XOR too when the random tests came up.

    For instance, {True, True, True} should evaluate as True, but I am being told it is expecting the solution to be False.

    I am programming with Ruby.

  • Custom User Avatar

    In which language you find this bug?

  • Default User Avatar

    I understand that you cannot expect everybody to know how XOR works, but AND? That should be self-explanatory.

  • Custom User Avatar

    Some XOR random test,

    for example,

    Testing for [false, true, false, false, false] and XOR
    ✘ It should work for random inputs too - Expected: false, instead got: true

    I think it is true.