Hacker News new | ask | show | jobs
by globular-toast 234 days ago
Irrelevant. The "bad" code does it too. It's talking about something specific and not "let's fix all the problems with this code".
1 comments

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.