Y
Hacker News
new
|
ask
|
show
|
jobs
by
throwaway894345
1515 days ago
Not usually, but the correct answer would be to either explicitly ignore the unused return values or use APIs that don't return values you don't care about.
1 comments
preseinger
1514 days ago
_ = fmt.Println("ok") // 1 fmt.Println("ok") // 2
1 is unambiguously worse than 2.
link