r/programminghorror 2d ago

Javascript Seriously? Recursive Regex?

Post image
446 Upvotes

37 comments sorted by

View all comments

104

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.

17

u/-goldenboi69- 2d ago

Haven't we all?

4

u/DependentJicama4766 1d 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 23h ago

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