this post was submitted on 14 Feb 2025
889 points (98.5% liked)

Programmer Humor

20718 readers
1804 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 week ago (1 children)

Maybe for your very specific use case that's true. However, other use cases exist and for many of those RegEx is the better option.

[–] [email protected] 0 points 1 week ago (1 children)

I'm saying if your use case makes regex the best option, you've gone the wrong way and should turn back. There are definitely corners you can paint yourself into that make it the way to go, but you've ended up there through a series of bad ideas.

[–] [email protected] 3 points 1 week ago

Maybe, just maybe, the context in which you use regex isn't the same as everyone elses. But hey, who am I to deny you the disservice of thinking you're the center of the world?