4 ms·
I like the manual solution better: it includes thought process without negative impact on readability or performance. This makes it easier to match the code ag
by qayxc 5y ago
I like the manual solution better: it includes thought process without negative impact on readability or performance.
This makes it easier to match the code against the specification, something a random (and in this case even wrong) magic number fails to do.
But maybe I'm overthinking it.
- 37ef_ced3 5y agoYou're not overthinking it. You're correct.