25 ms·
You are the one trying to include "all things like file pointers" as colors, as a strawman. But nobody is trying to say that. Context is tacked on to goroutine
by the_gipsy 3y ago
You are the one trying to include "all things like file pointers" as colors, as a strawman. But nobody is trying to say that.
Context is tacked on to goroutines to control async stuff, unlike e.g. filepointers or database-handles.
Using context.Background() is fine and great for tests or e.g. some CLI program. But consider deeply nesting functions that all do context.Background().
Go just smudges everything as gray and calls it a day.
Edit: what I'm trying to say is that go has not completely solved the colored function problem, which I think is what you're implying.
- burnished 3y agoThat wasnt a strawman, that was an example to help illustrate a point. Also it is a little fun that your smudge metaphor tacitly admits the other person is correct
- the_gipsy 3y ago> A straw man fallacy (sometimes written as strawman) is the informal fallacy of refuting an argument different from the one actually under discussion, while not recognizing or acknowledging the distinction. (Emphasis mine) Yes, go has an async runtime built in, congratulations. It's just not nearly as good as advertised.
- burnished 3y agoOh.. genuinely, thats what you have been doing through this thread
- icholy 3y agoWhat you're actually saying is "I don't understand the colored function problem".