Yeah that kind of approach is typically how you resolve this issue, coffeescript even has a neat wrapper around (function([args...]) { ... })([args...]) of do (args...) -> ... to make this less painful.
Interesting how the go syntax makes it easy to explicitly pass in arguments. That is very nice.
Interesting how the go syntax makes it easy to explicitly pass in arguments. That is very nice.