Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wlievens
on Jan 10, 2012
|
parent
|
context
|
favorite
| on:
Don't return null; use a tail call
Common idiom in javascript/jquery too, where the callback is called after the asynchronous execution. That's the advantage of this technique of course: synchronous or asynchronous implementations are interchangeable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: