Hacker News new | past | comments | ask | show | jobs | submit login

A lot of “dependency injection” type frameworks run this way.

The framework or runtime calls your function, and the return value tells it what to do next.

Prominent examples include React and Excel.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: