Clean Code Notes
Concepts
📘 Handbook
🔍 Search
🌙
☀️
Home
/
Concepts
/
Comments & Formatting
📝 Comments & Formatting
註解的時機與失效、可讀性與一致的格式。
4 pages
好註解解釋「為什麼」 (Comments)
★★★★
★
註解要寫程式碼看不出的事 (Comments Describe the Non-Obvious)
★★★★
★
先寫註解 (Write the Comments First)
★★★
★★
編排即溝通 (Formatting)
★★★
★★