Hacker News new | past | comments | ask | show | jobs | submit login

Clean Code and many others methodologys were valuable on a time where code was built to last. Today codebases are being constantly rewritten, sometimes from scratch, using wherever language or framework of the moment. it. And I'm not even talking about LLM generated code, there is no such thing as clean code for them



The 20,000 line function causes code (entire products) to be thrown out. Watching it happen right now. Huge cost.

Things like this happen because a group of offshore devs with two years of experience each were granted the responsibility of developing software without technical leadership. Had someone sat them down for five minutes and explained clean code and guided them through it for a month, it never would have happened.


> 20,000 line function ...? Is this an actual figure


Yes. Have you not encountered offshore code monkeys...literally no idea what they are doing. Ask them for a unit test and their eyes bug out and they want to renegotiate their contract and bring on additional people "for testing."


I've seen similar, thousands up to about 10k, but never 20k myself. It would not surprise me to find it in the wild, though.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: