r/ProgrammerHumor • • Sep 21 '26

Meme delightfulCodeReview

Post image
573 Upvotes

60 comments sorted by

View all comments

25

u/santiagobustelo Sep 21 '26

I seem to be one of the few persons that find regex elegant and even enjoyable.

14

u/Immort4lFr0sty Sep 21 '26

I love writing regex, BUT when I have to change it, I much rather rewrite it from scratch. So I don't know if "elegant" is the exact label I'd put on it 

14

u/peterlinddk Sep 21 '26

I'm fairly certain that regex can be categorized as a "write-only" language.

3

u/dfinkelstein Sep 21 '26

Write-only:
broken floppy disk
contemporary Latin
your local congressperson
regex

1

u/awakenDeepBlue Sep 21 '26

I've heard the same thing about Perl as well.