14 ms·
On one hand I agree that being explicit about what is going on is important. That is why in Go all code is written the same, no matter if it is called async or
by kardianos 6y ago
On one hand I agree that being explicit about what is going on is important.
That is why in Go all code is written the same, no matter if it is called async or sync. Then the caller gets to decide how it should be invoked.
So yes, let's be explicit and separate out the concerns. Thus red/green functions are not as good as single colored language.
Good premise. Your conclusion doesn't follow.
- azth 6y agogolang is a colored language since "context.Context" needs to be passed to all asynchronous calls. This is explained very well in the Zig talk: https://kristoff.it/blog/zig-colorblind-async-await/ https://kristoff.it/blog/zig-colorblind-async-await/