Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
heyoni
6y ago
0 comments
Share
What's the point of all these empty comments throughout the code?
// ...
0 comments
default
newest
oldest
patrickmcnamara
6y ago
It's just an ellipsis indicating that there be would more code after.
hazz99
6y ago
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)
j
/
k
navigate · click thread line to collapse