a feature that i thought would be good for llm-centric languages would be making something like python's doctest prominent where you put simple little unit tests in the docstring of the function rather than in some testing module someplace else.
it would make it easy for humans to easily stub out tests with a docstring description and the tests that would guarantee certain behaviors. for the machine, it'd make it easy to add in new tests because the function+tests are in the same context window
> for the machine, it'd make it easy to add in new tests because the function+tests are in the same context window
Given how many useless unit tests Codex just loves to write, no, thank you.
Thankfully, its training data completely misses this. So at least for now it completely ignores doctests (at least in Elixir).