Hacker News new | ask | show | jobs
by Zababa 1729 days ago
What I like about your example is that it's way better at communicating intent than the other C++ examples. In JS I would probably use

    numbers.some(number => (number % 2) === 1)
I feel like the other C++ examples given are noisy.