Hacker News new | ask | show | jobs
by DannyB2 2899 days ago
But I could write a simpler (incorrect) leap year function than yours!
1 comments

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.