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

Such "sleep(5)" is actually a milestone in a project, a milestone that marks the beginning of deterioration and the end of architectural changes. I've seen multiple pull requests with "sleep" and similar shortcuts, and worse, I've rewound coding agent context and changes because of such model suggestions. I'm responsible for informing management about the consequences of such shortcuts and why we have to take the correct, often more time-consuming and more expensive, approach to avoid project derailment in the long term. I believe that management picks employees. If they don't trust my judgment, then it's okay for me, but I don't feel obliged to be responsible for the consequences.


For a lot of startups the "sleep(5)" code isn't a milestone, it's in their MVP code with maybe a TODO comment to fix later.


I'm certainly not defending such code, just saying that its out there and in some very successful projects.

If the managers where you work understand the dangers of taking on such tech debt and are willing to put in the resources to avoid it, consider yourself lucky, because in my experience that's not at all universal, or even particularly common, though it does certainly exist at some places.




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

Search: