Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ahoka
20 hours ago
|
parent
|
context
|
favorite
| on:
Simplify your code: Functional core, imperative sh...
But then you are creating references with larger then needed "reachability".
sfn42
20 hours ago
[–]
I don't see a problem with that. This code would typically be inside it's own function anyway, but regardless I think your nitpick is less important than the readability benefit.
reply
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: