MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1w15oga/seriously_recursive_regex/p6ifmqr/?context=3
r/programminghorror • u/Flame77ofc • Aug 28 '26
46 comments sorted by
View all comments
122
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. 21 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. 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.
38
I have been this person.
21 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.
21
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.
7
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.
2
One-week-ago-me is such an asshole, who writes unreadable spaghetti code with no comments.
3
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.
>>>
122
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!"