Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unit testing is much much harder when you have functions spanning thousands of lines and no abstractions. You have to white box test everything to ensure that you hit all code paths, and it is much more expensive to maintain such tests, both as a human and LLM. I don't think this can be ignored just because LLMs are writing the code.
 help



Massive tests files are almost as bad a massive function.

Scrolling through a 3k line test suite with multiple levels of nesting trying to figure out which cases are covered is a fucking pain in the ass.




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

Search: