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

Irrelevant. The "bad" code does it too. It's talking about something specific and not "let's fix all the problems with this code".




If you write one method poorly so you select too much and filter in a for loop, you just have a bad method you can fix.

If you pick and recommend a pattern where filtering should happen separately from retrieving, all your code will be bad

Give a man a fish / teach a man to fish, but bad.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: