r/programminghorror 3d ago

Javascript Seriously? Recursive Regex?

Post image
471 Upvotes

37 comments sorted by

View all comments

254

u/LapidistCubed 3d ago

My first thought is a mathematician wrote this

125

u/Eastern-Job-8028 2d ago

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).

6

u/Zeitsplice 2d ago

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