Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dragonwriter
on Aug 16, 2013
|
parent
|
context
|
favorite
| on:
Callbacks as our Generation's Goto Statement
Actually, I think that mutually-recursive functions are more semantically clear than goto for a state machine, though using explicit state objects is even more clear than either (though probably less efficient.)
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: