I am “immediately regretting this alcohol content before I even open the can” years old

I have to record a Mystery Reader video for my daughter's kindergarten, and I've narrowed it down to two choices:

And a reference AFTER the ‘if’ statement can see both, since we can't know which branch of the ‘if’ statement was taken:

Show thread

A reference IN the ‘else’ branch can only see the reassignment:

Show thread

And we can track this all correctly! A reference BEFORE the ‘if’ statement can only see the original definition:

Show thread

Interestingly, this local variable is overwritten later in the function, but only in the ‘else’ branch of an ‘if’ statement:

Show thread

With precise, we can see all of the places that variable is referenced in the function:

Show thread

With stack graphs, we can see which particular method is being called, even though that means tracking:
- a local variable created by a ‘with’ statement
- whose value comes from invoking a class constructor
- of a class imported from another file

Show thread

A search-based lookup can only use the name of the method when searching for definitions. That means we show ALL of the methods in your repository with that name:

Show thread
mastodon.dcreager.net

Mastodon server just for dcreager