Re:Simple, correct, fast: in that order
by DannyB2 on Monday July 09, 2018 @10:37AM
(#17490449)
But I could write a simpler (incorrect) leap year function than yours!
[ Parent
| on HN ]
You missed the point of the article if you interpreted it as correctness being intentionally sacrificed for simplicity.
Plus, a complete leap year implementation is already what I would consider simple and most standard libraries already have an implementation for it you can use directly.