r/programminghorror • • Aug 28 '26

Javascript Seriously? Recursive Regex?

Post image
566 Upvotes

46 comments sorted by

View all comments

122

u/[deleted] Aug 28 '26

[removed] — view removed comment

38

u/Yarhj Aug 29 '26

I have been this person.

21

u/-goldenboi69- Aug 29 '26

Haven't we all?

8

u/DependentJicama4766 Aug 29 '26

Its a rite of passage. This and hating yourself a few weeks later because you cant understand shit of what you wrote lol

2

u/arensb Aug 30 '26

One-week-ago-me is such an asshole, who writes unreadable spaghetti code with no comments.

3

u/sens- Aug 29 '26

Because I started my career by working with embedded C, I thought at some point that I knew pretty much everything about handling bits. Years later while fixing a bug, I was pretty shocked learning that JS has a separate >>> operator.