@bagder Some of us learn slowly.
This realization was triggered a "workflow tool" for a programming language where running a program builds it before running it, but doesn't actually write the built binary to a file. Building the program does that.
Foot gun: if one has built the binary earlier and has a binary lying around, running the program with the workflow tool doesn't update the binary. Result: head-scratching when running the binary directly gives different results.