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

> In that case, if the current way is undocumented and/or inconsistent, you make it better before or while adding in your new approach.

Sometimes, but oftentimes that would involve touching code that you don't need to touch in order to get the current ticket done, which in turn involves more QA effort.



The need is quite widely interpretable though.

I worked on a Drupal site once where somebody had put business logic and database querying inside of template files.

Just because you can implement something without touching any other part of the codebase doesn’t mean that’s a good decision.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: