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

Fixing the 30 file paths was not just a quick global search/replace?


Reminds me of the time I wrote 100 similiar sites separately with slight changes. A quick global search/replace will introduce so many unnecessary replaces unless you are careful and miss so many unless you take linebreaks into account.

A global search/replace is a hotfix hammer that should only get pulled out rarely and carefully by manually reviewing all changes.


Bad example, it was more complicated than that. Azure functions have a different file system than App Services, and the method tried to determine where it was hosted 30 times, or something like that. Genuinely don't remember.




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

Search: