5 ms·
I was giving myself RSI by deleting <12000 lines of copied comments (only misleading noise, explaining what was happening) and <4000 LOC (replaced with a 120 LO
by mehdix 3y ago
I was giving myself RSI by deleting <12000 lines of copied comments (only misleading noise, explaining what was happening) and <4000 LOC (replaced with a 120 LOC in a single fn) when I reverted to using regex while sanitizing a badly bloated codebase.
Can feel you right there.
- jpc0 3y ago> when I reverted to using regex Begrudgingly I hope... If you replaced 4000LoC with a regex that regex scares me...
- mehdix 3y agohaha! I did use regex to find and delete repetitive patterns of code with slight variation that would be carried out by the aforementioned function. I wish I could write such a monstrosity though :)