Code Walkthrough
infoq.com
Code Walkthrough
1–4 of 4 posts
Re: Code Walkthrough
#2It kinda reminds me of the rust doc and doctests (snippets in the docs that are valid rust and are run as part of the tests), but across several files/repositories. They can be used to show a pattern, although usually a local one.
Re: Code Walkthrough
#3How can you make sure that the walkthroughs are in sync with the code? Especially across repositories. The article is surprisingly light about this. It kinda reminds me of the rust doc and doctests (snippets in the docs that are valid rust and are run as part of the tests), but across several files/repositories. They can be used to show a pattern, although usually a local one.
if the source is available, hardlinks to specific lines in a specific version would be pretty good
Re: Code Walkthrough
#4I wouldn't expect this to be considered a first-class documentation task and have someone actively maintain it when code velocity often outpaces documentation. I mean if you refactor something now you also refactor the walkthrough? Ugh.. nobody got time for that.
What I'd like to see is some profiler or something auto-generating walkthroughs based on the 'beaten path' of the business logic, starting from the entry points of the.. thing, for each release.