|
|
|
|
|
by jwingy
5091 days ago
|
|
Maybe I'm not understanding it correctly, but on the point about "it's ok to block", does that mean Go will continue to serve other requests normally, but at the point of the blocking code, it automatically has a "callback" to the next command? (effectively saving the programmer the pain of having to write code in callback fashion) Having no prior experience with Go, I found the rest of the article informative! |
|
Writing your code in blocking style is just easier to follow than the callbacks used in Node and other asynchronous event servers.