💬

Inline logs

Logs closer to the code

Motivation

When trying to understand what the code is doing, using logs and prints are the simplest and most common way, but having those be separated from the code requires the developer to create a mapping from the code, and the list of logs being printed. This exploration displays the logs inline to make it easier to understand the code.

Screen Capture

notion image