Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throwawaymaths
on May 17, 2025
|
parent
|
context
|
favorite
| on:
Push Ifs Up and Fors Down
i would agree with the push ifs up
except
if youre doing options parsing. having a clean line of flow that effectively updates a struct with a bunch of "maybe" functions is much better if youre consistent with it.
anywhere else, push ifs up.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
anywhere else, push ifs up.