Skip to content

Comment on Ask HN: AI Code Smells

Comments

- Needless guards, e.g. `if (document) document.body…` in the browser.

- Backwards compatibility, "This way handles version X, which end-of-life was 10 years ago."

- Unit tests with too much overlap. "Should add positive nums, Adds neg nums, Adds zero, …"

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.