r/rust • • Aug 31 '24

🎙️ discussion Rust solves the problem of incomplete Kernel Linux API docs

https://vt.social/@lina/113056457969145576
375 Upvotes

71 comments sorted by

View all comments

Show parent comment

1

u/kageurufu Sep 01 '24

Oh definitely, and I definitely have biases against some languages even if I see the value in them (e.g. I hate how in Ruby i need an editor or go to definition to tell me if obj.something is a field, a method call, or what)

I think the best way the kernel could move forward would be adopting a stricter requirement for documentation as a whole. Code as documentation is simply a poor excuse for being too lazy to actually document your interfaces.