I’ve seen a short list before of a few things programmers really shouldn’t try to implement themselves, and I forget what the other 2-3 were, but times and dates was definitely one of them. It’s so incredibly nuanced, I’m impressed anyone gets it right.
explanation
The more logic challenges I see, the more I think that implementing a Date library in a language is the most challenging thing ever.
I’ve seen a short list before of a few things programmers really shouldn’t try to implement themselves, and I forget what the other 2-3 were, but times and dates was definitely one of them. It’s so incredibly nuanced, I’m impressed anyone gets it right.
Cryptography, and HTML parsing using regex come to mind.
Tom Scott made a funny video about that