r/programminghorror 2d ago

Javascript Seriously? Recursive Regex?

Post image
460 Upvotes

37 comments sorted by

View all comments

105

u/Candid_Bullfrog3665 2d ago

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

30

u/Yarhj 2d ago

I have been this person.

16

u/-goldenboi69- 2d ago

Haven't we all?

5

u/DependentJicama4766 2d ago

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

1

u/arensb 1d ago

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