💯

Mathematical Substitution

Run code step-by-step inline
 
In collaboration with Robert Haisfield

Motivation

In order to use functions, developers need to understand what they do, especially if they are learning to code. But "Go to definition" takes the developer out of their context, and requires them to simulate and create a mental map of the codebase. By replacing code in place it could help developers understand the code better.

Screen Captures

1: Identifying where the code can be replaced
notion image
 
2: Replacing a function call by the function body
notion image
 
3: Replace functions within functions
notion image
 
4: Recursive replacement
notion image