Hacker News new | ask | show | jobs
by d33 3733 days ago
Absolutely amazing.

One thing that struck my attention is how little comments there are in Linux at times. Consider this:

https://github.com/0xAX/linux-insides/blob/master/Initializa... https://github.com/torvalds/linux/blob/097f70b3c4d84ffccca15...

Not a single line of commentary for something that definitely is not a trivial instruction.

I'm getting the impression that this kind of documentation should be built directly into Linux's source code, creating a document that is self-documenting and both human- and machine-readable.

On a separate note, it would be really nice if Gitlab supported something like ctags for browser-based code navigation...

1 comments

Great idea to use ctags for code navigation, I created an issue https://gitlab.com/gitlab-org/gitlab-ee/issues/436
Actually I meant Github, but I'd love to see it in Gitlab as well - being able to explore open source projects with ctags using either would be absolutely awesome.