“Novices are sometimes tempted to use buffered channels within a single goroutine as a queue, lured by their pleasingly simple syntax, but this is a mistake. Channels are deeply connected to goroutine scheduling, and without another goroutine receiving from the channel, a sender—and perhaps the whole program—risks becoming blocked forever. If all you need is a simple queue, make one using a slice.”
―
The Go Programming Language
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
The Go Programming Language
by
Alan A.A. Donovan1,752 ratings, average rating, 144 reviews
Open Preview
Browse By Tag
- love (101239)
- life (79187)
- inspirational (75719)
- humor (44296)
- philosophy (30918)
- inspirational-quotes (28826)
- god (26841)
- truth (24713)
- wisdom (24575)
- romance (24324)
- poetry (23219)
- life-lessons (22567)
- quotes (20935)
- death (20519)
- travel (19936)
- happiness (18931)
- hope (18511)
- faith (18364)
- inspiration (17281)
- spirituality (15675)
- relationships (15489)
- religion (15363)
- life-quotes (15271)
- motivational (15266)
- love-quotes (15115)
- writing (14927)
- success (14167)
- motivation (13120)
- time (12837)
- motivational-quotes (12099)
