I think this also applies to code. Code forces you to get rid of ambiguity, which forces us to understand.

Curiosly, I found related papers randomly when searching about the zettelkasten [knowledge-graph]

source: https://zettelkasten.de/posts/collectors-fallacy-confession/

Sönke Ahrens’ How to Take Smart Notes, chapter 5, “Writing Is the Only Thing That Matters”. https://www.reddit.com/r/Zettelkasten/comments/o1w5qi/is_zettelkasten_worth_the_effort/

Checkout

https://www.jstor.org/stable/374203

https://writingisthinking.com/the-writing-is-thinking-philosophy/

https://www.sciencedirect.com/science/article/abs/pii/S0388000107000046

https://www.animalz.co/blog/the-problem-with-writing-is-thinking/

https://medium.com/mind-cafe/writing-is-the-purest-form-of-metacognition-ef6458472f02

https://journals.sagepub.com/doi/full/10.1037/1089-2680.12.1.9