Hacker News new | ask | show | jobs
by gloosx 672 days ago
Ad-post for yet another AI tool.

Refactoring is about moving existing code around, not introducing new code. Replacing localStorage methods with cacheManager is a fix/feature. Updating one part of the codebase to work completely differently from the rest is a fix/feature. Changing processUsers to a whole useless class is not considered refactoring, it is a fix/feature. A single page app for a SEO-focused site is NOT a bad idea since 2018. Most examples of "refactors" in the article are actual fixes and features which brought (bad), or not brought (good) new regressions into the software.

1 comments

> Ad-post for yet another AI tool.

Ad-posts for AI tools seem (almost?) always to be written by AI tools.

Only I don't know what proportion of them are written by computerised AI tools.