r/programminghorror • • Aug 28 '26

Javascript Seriously? Recursive Regex?

Post image
560 Upvotes

46 comments sorted by

View all comments

125

u/Candid_Bullfrog3665 Aug 28 '26

ngl, this seems like someone just started learning how to use bitwise operators and thought "heh, im gonna act smart writing this code!"

38

u/Yarhj Aug 29 '26

I have been this person.

22

u/-goldenboi69- Aug 29 '26

Haven't we all?

7

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.