Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 个月前How programmers comment their codelemmy.dbzer0.comimagemessage-square146fedilinkarrow-up11.54Karrow-down19file-text
arrow-up11.53Karrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 个月前message-square146fedilinkfile-text
minus-squarebalp@lemmy.worldlinkfedilinkarrow-up2·9 个月前Docstring are user documentation, not comments. User documentation, with examples (tests), is always useful.
minus-squareVigge93@lemmy.worldlinkfedilinkarrow-up2·8 个月前As long as it’s maintained. Wrong documentation can often be worse than no documentation.
Docstring are user documentation, not comments. User documentation, with examples (tests), is always useful.
As long as it’s maintained. Wrong documentation can often be worse than no documentation.