|
|
|
|
|
by califield
4189 days ago
|
|
This article reads like a mind dump lacking a cohesive narrative... I mean look at how the author closes the article: > This article isn't really about callbacks and it isn't even really about APIs. Well then, perhaps you should have named the article something else...? |
|
The essential problem is that any program which can incorporate arbitrary recursion is subject to the halting problem. The seemingly simple initial fixes, like a lock or asynchronous callback queue, can improve things. The author proposes third-party code analysis tools to help; I'm less sure of that. The Gödel dragon is not easily pushed back, and we often accidentally create Turing machines.
I think the title's fine. It's better than "Callbacks and the Halting Problem", since most of the essay covers, after all, "Pitfalls of Callback-Based APIs".