Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
asddubs
on Aug 20, 2024
|
parent
|
context
|
favorite
| on:
Good refactoring vs. bad refactoring
I also prefer the loop, I would negate the condition and use continue, but otherwise leave it unchanged. I don't have a problem with the functional version but it doesn't scan as well to me.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: