Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
heyoni
6y ago
0 comments
Save
Share
What's the point of all these empty comments throughout the code?
// ...
0 comments
3 comments · 2 top-level
top
newest
oldest
hazz99
6y ago
· 1 in thread
It's likely the Go libter requiring every public method / variable to be documented.
inlined
6y ago
Yup. I saw a lot of codebases with things like:
// EnqueueEvent ...
func (q *Queue)EnqueueEvent(event Event)
patrickmcnamara
6y ago
It's just an ellipsis indicating that there be would more code after.
j
/
k
navigate · click thread line to collapse