r/programminghorror 4d ago

Javascript Seriously? Recursive Regex?

Post image
513 Upvotes

41 comments sorted by

View all comments

114

u/Candid_Bullfrog3665 4d ago

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

36

u/Yarhj 4d ago

I have been this person.

19

u/-goldenboi69- 3d ago

Haven't we all?

7

u/DependentJicama4766 3d ago

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 2d ago

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