This is a concise answer. but i thought it said, if one is even and the other is odd, they are in love. can someone explain how this code works
thanks!
@dansel I get your point, you can approach the kata in whichever way you want as long as it's not forbidden. But the problem is your solution is voted as best practice, which certainly isn't. That's why people protest.
An even plus an odd integer will always return odd.
Just think of it. A pencil and a paper can help you.
This is a concise answer. but i thought it said, if one is even and the other is odd, they are in love. can someone explain how this code works
thanks!
Very concise.
This comment is hidden because it contains spoiler information about the solution
@dansel I get your point, you can approach the kata in whichever way you want as long as it's not forbidden. But the problem is your solution is voted as best practice, which certainly isn't. That's why people protest.
Absolutely beautiful!
Joli ! Really nice short way to tell a long story
nice one
How can 20 people write a such identical code?
Is it a copy/paste from somewhere?
good to know you can splip up the elements of an array like that.
hahahah that is cool
This comment is hidden because it contains spoiler information about the solution
What about conditions for gandicap? I should be -2 < gandicap < +26. This solution doesn't consider all kata's conditions
Amazing. It uses so many Ruby sugar bits to give more meaning to the code.
Loading more items...