Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 5 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square142fedilinkarrow-up11.52Karrow-down19file-text
arrow-up11.51Karrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 5 months agomessage-square142fedilinkfile-text
minus-squarebalp@lemmy.worldlinkfedilinkarrow-up2·5 months agoDocstring are user documentation, not comments. User documentation, with examples (tests), is always useful.
minus-squareVigge93@lemmy.worldlinkfedilinkarrow-up2·5 months agoAs 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.