Y
Hacker News
new
|
ask
|
show
|
jobs
by
eptcyka
2 days ago
I love how during prototyping, the compiler will tell me off for having an unused variable and fail to compile. I totally love the idea of crashing when writing on a closed channel.
1 comments
sethammons
2 days ago
If you are prototyping, assign unused to the underscore.
foo := thinger()
_ = foo # no longer unused
link
foo := thinger()
_ = foo # no longer unused