Well, I only have myself to blame for the complexity then. ;-) There is no visible difference, but there is an invisible one--the visitor functions are now potentially parallel so they must not access shared variables casually. One choice is to use a channel, one is to use mutual exclusion.
On Tue, Oct 9, 2018 at 6:46 AM Robert Solomon <drrob...@gmail.com> wrote: > As the OP, I want to clarify my comment about grokking. I meant that it > takes time to understand someone else's code, not about CSP itself. > > I went through a YouTube series that writes a news aggregator in go using > CSP; it took 22 videos to explain the code. > > I started looking at Mike jones' code and I need to study it a bit more. > > -- > 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. > -- *Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>* -- 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.