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

If you are prototyping, assign unused to the underscore.

foo := thinger()

_ = foo # no longer unused