Work English › English Writing Guide for Programmers › Comments and naming
docstring
/ˈdɒkstrɪŋ/ · n.
Chinese
文档字符串
English
a string literal used to document a function or module

💬 Example in a standup

The docstring should describe the parameters and the return value.
文档字符串要写清参数和返回值。
‹ comment annotation ›

🧩 Same theme

comment/ˈkɒment/ 注释,评论 › annotation/ˌænəˈteɪʃn/ 注解,标注 › deprecate/ˈdeprəkeɪt/ 弃用 ›

📚 Keep going

🃏 Review all 50 words with cards Tap to flip · swipe to move · progress saved › 🎧 Practise the sentence patterns Per-sentence playback · 0.8x slow mode ›

Work English - scenario-based vocabulary and phrases · Sunzhongwei · More online tools

© 2026 sunzhongwei.com