3 ms·
> both the number version and the string version of a number, to indicate it's "even" or "odd" You're saying that like it's some kind of defense of the library
by raverbashing 6y ago
> both the number version and the string version of a number, to indicate it's "even" or "odd"
You're saying that like it's some kind of defense of the library. In the real world it isn't.
- throwanem 6y agoEh. Evenness is a property only of integers, so if someone's going to pull in a library to check it, I could argue it makes sense for that library to enforce that the comparison only be attempted over values where it's defined. Granted that this seems a lot of effort to put into analyzing the contents of a Github repo tagged "troll-bait", from the user "i-voted-for-trump". But hey, this is HN, so it's whatever I guess.