3 ms·
It annoys me when I write blog posts like this, it's so hard to link to a specific line of code and have that link stay alive and useful/fresh over time. I gue
by cobertos 3y ago
It annoys me when I write blog posts like this, it's so hard to link to a specific line of code and have that link stay alive and useful/fresh over time.
I guess if it's GitHub, you can tie it to a specific commit hash, file name, line number tuple, but if the codebase ever changes a lot its not super useful. I've also not had luck with other, less used git webviews (git.blender.org)
- xxpor 3y agoFor linux kernel code, you can use elixir, so it'll at least be linked to a specific version. You can use an LTS version if you want the code to have at least some staying power. https://elixir.bootlin.com/linux/latest/source https://elixir.bootlin.com/linux/latest/source