Re:Show HN: Create a full language server in Go with 3.17 sp...
by rumno0 on Sunday March 29, 2026 @11:53AM
(#47564234)
Yeah some times godoc comments don't come out too good
[ Parent
| on HN ]
Re:Show HN: Create a full language server in Go with 3.17 sp...
by fainpul on Sunday March 29, 2026 @12:36PM
(#47564695)
But you don't have to add a docstring. Cases like this are worse than no docstring at all, because it wastes the reader's time.
If you add one, at least make the effort to provide some useful information. For example which is more severe: higher or lower numbers.
Re:Show HN: Create a full language server in Go with 3.17 sp...
by rumno0 on Sunday March 29, 2026 @12:39PM
(#47564721)
I disagree - you should have docstring and I don't think this is worse by having it... its just not ideal
Re:Show HN: Create a full language server in Go with 3.17 sp...
by hrmtst93837 on Sunday March 29, 2026 @02:34PM
(#47565822)
Boilerplate docstrings are lint that spreads, and stale ones are worse, I've seen sevreity fields documented less clearly than the code they annotate.