Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
drnick1
· 11mo ago · 0 comments
It’s a terrible idea, what if you aren’t interested in the return value and can’t rewrite the function because it is in a third party library? Assigning that to a variable that won’t be used is terribly inefficient and inelegant.
Comments
[–]
peesem
11mo ago
you can discard with `_ = returningFn();`