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

> but if you have large amounts of unused code throughout the codebase

Delete it? Version control is your backup



You have to find it, first. I have a PHP codebase where symfony and doctrine are using strings to connect distant parts of the code. Just trying to find what calls what is hard. I am in the process of replacing as much strings with real calls and adding as much typing as possible, and have thrown away 1/3, but the code base fights back.




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

Search: