| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43380833
Hacker News 的讨论围绕着软件文档的“教,而不是说”(Teach, Don't Tell)方法展开。虽然文章提倡更具教学性的方法,但许多评论者强调完整准确的信息才是根本。 一个关键点是,好的文档不仅仅是“教学”;它需要不同类型:解释“为什么/是什么”(why/what)、API规范、教程和操作指南。缺乏全面的文档会导致用户沮丧,并可能阻碍采用,即使代码本身完美无缺。一些人认为,包括索引良好的手册在内的传统文档方法通常优于现代在线文档,后者可能支离破碎且缺乏清晰的学习路径。最终,有效的文档是技术完整性和易于理解的教学的结合。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Articles like this one really aren't helping. If you wrote a piece of software I'm using that doesn't make you my teacher. It makes you someone offering a contract, and what I need to know is what that contract says.
The first duty of your documentation is to be complete and correct. Unless you've got that sorted, no amount of "putting yourself in the student's place" is going to give adequate results.
reply