3 ms·
I've been experimenting with my own custom markup for annotating code blocks. I want to document code use cases and automatically generate an index of independ
by Dowwie 7y ago
I've been experimenting with my own custom markup for annotating code blocks. I want to document code use cases and automatically generate an index of independent sandbox examples. This approach doesn't require AI but rather manual effort remembering to annotate novel uses in code and a standard convention for doing so. One problem this solved is that I've written so much code that I lose track of where I experienced certain patterns and this would help me track that better. This also helps to facilitate knowledge sharing across teams with access to the source.
Has anyone worked on something such as this and can comment or share ideas?
- kstenerud 7y agoWhat about some sort of code URI? Maybe something like: code:github.com/kstenerud/bit-tricks/absolute_value.h/absolute_value
- lifeisstillgood 7y agosort of ... I am playing with `todoinator` - it is a way of finding all the "todos" I leave scattered around my code, but also gives me ways to rank my code - its not quite where you are but I think the principle of having almost everythin derived from code is the guiding light here. [#] https://github.com/mikadosoftware/todoinator/blob/master/todoinator/todoinator.py https://github.com/mikadosoftware/todoinator/blob/master/tod...