fun with computer science 

asciidoc has this neat feature where you can include a file between two markers.

i used this in a project so the example code was in a separate file that compiles by itself. then the documentation includes regions of the example file via those markers. the net result is that the examples are built as part of the module testing and so the documentation can't get out of date. :comfysmug:
Follow

fun with computer science 

@icedquinn That's neat! It's like an inside out version of Knuth's "literate programming."

re: fun with computer science 

@swiley i had a thing for that too. a really dumpy version of literate programming that just made asciidoc files out of comments in the files.
Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.