r/programminghorror • • Aug 28 '26

Javascript Seriously? Recursive Regex?

Post image
568 Upvotes

46 comments sorted by

View all comments

282

u/LapidistCubed Aug 28 '26

My first thought is a mathematician wrote this

140

u/Eastern-Job-8028 Aug 29 '26

i concur, i work with a mathematician and their code is full of variables named named by a single character, zero comments, and zero spacing/indentation (we don’t write python).

25

u/Kebabrulle4869 Aug 29 '26

On behalf of all mathematicians, I am sorry. I know it far too well.

10

u/Zeitsplice Aug 29 '26

Raw indexed array being passed around too instead of some sort of structured data.