Artwork

เนื้อหาจัดทำโดย https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal
Player FM - แอป Podcast
ออฟไลน์ด้วยแอป Player FM !

BBS 19: Documentation in Software Projects

36:27
 
แบ่งปัน
 

Manage episode 389671722 series 3271778
เนื้อหาจัดทำโดย https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal

https://brainsandbeards.com/

Key Moments:

  • Documentation comes in different forms like code comments, README files, external documentation in Confluence, and architectural decision records (ADRs).
  • Code comments can become outdated over time as the code changes, so it's better to rely on clear naming, TypeScript types, and unit tests to document code.
  • README files should focus on project-specific setup instructions rather than general language/framework documentation, and link to external docs when possible.
  • External documentation is better suited for business context, team decisions, and diagrams that involve multiple teams. It's easier for others to contribute to compared to code docs.
  • Using a shared terminology ("domain language") is important for communication between teams working on the same codebase or product. This vocabulary should be documented.
  • ADRs are useful for documenting past architecture and design decisions in case they need to be revisited. They improve decision making and prevent rehashing the same discussions.
  • Writing documentation forces one to better understand a topic. Developers should practice writing to improve their communication and learning.
  • Tests can double as a form of documentation, like regular expressions explained through example test cases.
  • Commit messages should be concise and avoid too many changes in one commit to allow for informative messages.
  • TypeScript's "expect error" is better than "ignore" for documenting expected errors in code.

👋 Visit us on https://brainsandbeards.com/

  continue reading

23 ตอน

Artwork
iconแบ่งปัน
 
Manage episode 389671722 series 3271778
เนื้อหาจัดทำโดย https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก https://brainsandbeards.com, Wojciech Ogrodowczyk, and Patryk Peszko หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal

https://brainsandbeards.com/

Key Moments:

  • Documentation comes in different forms like code comments, README files, external documentation in Confluence, and architectural decision records (ADRs).
  • Code comments can become outdated over time as the code changes, so it's better to rely on clear naming, TypeScript types, and unit tests to document code.
  • README files should focus on project-specific setup instructions rather than general language/framework documentation, and link to external docs when possible.
  • External documentation is better suited for business context, team decisions, and diagrams that involve multiple teams. It's easier for others to contribute to compared to code docs.
  • Using a shared terminology ("domain language") is important for communication between teams working on the same codebase or product. This vocabulary should be documented.
  • ADRs are useful for documenting past architecture and design decisions in case they need to be revisited. They improve decision making and prevent rehashing the same discussions.
  • Writing documentation forces one to better understand a topic. Developers should practice writing to improve their communication and learning.
  • Tests can double as a form of documentation, like regular expressions explained through example test cases.
  • Commit messages should be concise and avoid too many changes in one commit to allow for informative messages.
  • TypeScript's "expect error" is better than "ignore" for documenting expected errors in code.

👋 Visit us on https://brainsandbeards.com/

  continue reading

23 ตอน

ทุกตอน

×
 
Loading …

ขอต้อนรับสู่ Player FM!

Player FM กำลังหาเว็บ

 

คู่มืออ้างอิงด่วน

ฟังรายการนี้ในขณะที่คุณสำรวจ
เล่น