This is Literate Programming. Its importance deserves much more attention.
I think if you're writing a technical book/post/documentation, you have to stick to this principle: If the code isn't directly loaded from a tested source file, or copy-pasted from one, it doesn't go in the document. "I just need to make a little edit to the code in the post, it'll be fine" No
0 reposts0 likes