2 ms·
Thanks for clarification. I thought that was what you were saying originally, but better to check :-) > Seems like big companies should be your market for any
by zizee 6y ago
Thanks for clarification. I thought that was what you were saying originally, but better to check :-)
> Seems like big companies should be your market for any cleanup tool, not startups.
Yes. For a team getting something off the ground, a bit of dead code hanging around is not really a concern relative to the scramble to find product market fit.
> running an automated program that deletes anything that's not being called... feels iffy. Maybe a previous engineer didn't quite finish something... ideally that won't happen but I imagine it might. Maybe you could make something that lets people check off changes one by one.
Agreed. I was thinking that the service could open pull requests to the repo, one per code block. The PR would then have to be reviewed/approved before merging. It could do this as a two step process. First to add signal flares on suspect code, and then a follow-up PR to do the actual deletion.