|
|
|
|
|
by chrisseaton
2056 days ago
|
|
> What speculation? Speculating that a debugger is not attached and modifying local variables, is one example. > in the common case it should (at least) be something you could do just by walking the AST Yes that’s why it’s speculation - handle the common cases and speculate away the uncommon cases. |
|
A debugger can do anything. You can't outthink a debugger and shouldn't try.
> Yes that’s why it’s speculation - handle the common cases and speculate away the uncommon cases.
Speculation is when you guess and need to have a guard in case the guess is wrong. They're describing a situation where it can't be wrong and you wouldn't need to speculate.