repo: GitHub - dannypsnl/re-algo
demo: re-algo: track local variables - YouTube
The idea is to track the internal state when developing complex functions, imagine state for code is unreal, this tool helps you to get in time state to figure what's missing.
problems
- non-variables states like returns won't get tracked(except the final returns)
- updating is slow
- cannot prevent from the infinite loop, the editor will be stuck there
- states presentation way is fine with the linear update, bad for tree fork like
quick-sort
did - editor is inconvenient