this post was submitted on 29 Sep 2026
624 points (97.9% liked)
Programmer Humor
33385 readers
1111 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
When I wrote my numerical parser, people told me to use regexes to detect what kind of numerical value is being parsed. I just did it in one go. Only regex-like checking is for ISO datetime values.
regex is computationally pretty cheap, from what I've read; due to something about it being a simple AND gate or something..... . IDR, and to be honest it doesn't really matter in the era of 16-core/32thread 5GHz processors.... but when you just want it to work..... it does "just work". /shrug.