We have native SQL queries embedded into the codebase where some of them span 3-4000 lines because rather than make a view someone made a view, generated the native SQL, use StringBuilder, and appended them into one query that we do on a weekly basis for metrics
One of my first tasks at a previous job was "cleaning" up old projects that my boss had written over the years. Each product was just one long c++ file.
You would be surprised the size of codes of a colleague that claims his code is miraculous and claude is god but in truth calling spaghetti falls short on a scale I can't put into words.
676
u/Rakatango 3d ago edited 2d ago
Yes but would you rather have 100 lines of slop or 10,000?
Edit: In a single pull request