m68k assembly was my favorite back in the day.
m68k assembly was my favorite back in the day.
The joke is that, regardless of how the type is declared in json, you are parsing a string. (your json blob is just a series of characters, not raw binary data)
The reply would have been return x % 2 == 0
, or if you wanted it to be less readable return !(x&1)
.
But if you were going for a way that is subtly awful or expensive, just do a regex match on “[02468]$”. You don’t get a stack overflow with larger numbers but I struggle to think of a plausible bit of code that consumes more unnnecessary cycles than that…
Is this meant to be a joke or is it intended to be a serious solution?
Asking for someone who lacks a sense of humor.
Ok, fine, I’m asking for me. That person is me.
Just like every basement is a hamas bunker and every sewer is a hamas tunnel.
There are three sides to this conflict, not 2.
…by him?
I can’t be the only one disappointed by the lack of an order by clause after being told the list was being sorted (twice!)…
The latest claim is that they have found a shaft leading underground. How much you want to bet it looks like an elevator shaft, if they even release any pictures of it…
If by simple you mean “can’t count from 1 to 10 in a loop” and by elegant you mean “easier to understand than a one line perl script” then sure…
That’s because it is absolutely terrible. It is the first serious/real “language” I have encountered since Cobol where indent level has functional meaning. This is not good company to be in.
You might say Israel is implementing a final solution to their problem…
Omg, I have SOOoo many questions about what is going on in this picture.
My guy wanted to use drones to cut hedges.
That’s how git works. Every file and subfolder under the repo’s root folder belongs to the repo.