As the Dalai Lama likes to say: "No, you must search".

Am Freitag, 8. März 2019 14:58:40 UTC+1 schrieb Robert Engels:
>
> I understand that, but can you point to a real world example that doesn’t 
> use them in handling some sort of “async” network request?
>
> On Mar 8, 2019, at 7:43 AM, Haddock <ffm...@web.de <javascript:>> wrote:
>
> Non-local returns are not about anything with concurrency or threads. It 
> is about return from a closure where the thread of execution jumps out of 
> the closure and out of the function that calls it. See this article 
> <https://stackoverflow.com/questions/17663586/non-local-vs-local-returns-matter-of-implementation-level>
>  
> that explains it well.
>
> Am Freitag, 8. März 2019 14:34:13 UTC+1 schrieb Robert Engels:
>>
>> The reason it is hard to do is that Go correctly decided against this 
>> callback type code - it creates callback hell. Concurrency is cheap in Go, 
>> it is designed to use CSP or blocking procedural techniques - both far 
>> easier to maintain than callback focused systems. 
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to