News for hackers. Stuff that matters.
Re:Nobody ever gets credit for fixing problems that never ha... by WalterBright on Friday February 23, 2024 @11:24AM (#39482605)
Docs-as-code will never work, as human languages are way too mushy and imprecise. That's why we have programming languages.
Re:Nobody ever gets credit for fixing problems that never ha... by godelski on Friday February 23, 2024 @12:59PM (#39483951)
I document as I code all the time. It is immensely helpful. As I write the signature I add a few lines saying what the function will do and often it results in me slightly modifying the function because I realize a better way.
Re:Nobody ever gets credit for fixing problems that never ha... by euroderf on Friday February 23, 2024 @11:40AM (#39482844)
I think you miss the point. Docs-as-code says keep the docs where the code is, and manage the docs like you manage code, using tools like git. Mostly(?) to reduce friction for software developers to actually contribute useful documentation.