4 ms·
There is no way you replaced 50,000 lines of batch files with 10 lines of a script.
by urbandw311er 3y ago
There is no way you replaced 50,000 lines of batch files with 10 lines of a script.
- doubled112 3y agoI'm positive there's some exaggeration for effect, but I've run into some Powershell scripts for that have grown into 1000+ lines and I'd guess roughly 2/3rds of them were in functions never called. The call is removed, but the function remains. Fields in a form stay, unused and unpopulated, but the validation is disabled and left behind. Things like this. No version control meant it was hard to go back, and people are afraid to break things.
- qup 3y agoI once replaced ~2500 lines of ruby with ~450 lines of...ruby. That was some shit. Mostly it was copy/pasted data (strings) with slight modifications eating up a lot of lines. A few big chunks were in a code path that could not execute, as well. It was just really bad code.
- 4hEn 3y ago[flagged]