I have never once not regretted using sync.Mutex in my Go code.
-
-
-
Replying to @tqbf
@tqbf@kasey_junk Every time I need a concurrent map I end up with the pass-desired-action-over-channel-send-back-result pattern. :(4 replies 0 retweets 4 likes -
Replying to @patio11
@patio11@tqbf@kasey_junk I tried the channel solution, but it requires a new reply channel for every request and that was a pain to code.1 reply 0 retweets 0 likes
Replying to @thatcks
@thatcks @tqbf @kasey_junk I put a single-use reply channel on the action object itself and feel so dirty.
7:52 AM - 10 Nov 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.