pcattori | 3 years ago | on: Go-like channels in 10 lines of JavaScript
pcattori's comments
pcattori | 3 years ago | on: Go-like channels in 10 lines of JavaScript
I _could_ refactor to have "browser compilation phase 1", then assets manifest, and then "browser compilation phase 2", but that's not how I model it in my head. Plus it would mean a diverging interface for `compileBrowser` and `compileServer` which doesn't fit my mental model either.
So prefer to use channels instead.
pcattori | 3 years ago | on: Go-like channels in 10 lines of JavaScript
Of course, you don't need a channel abstraction to do that. To me, channels are the most intuitive and self-contained way to solve the problem, so I wanted to use that model of concurrency in JS.
pcattori | 3 years ago | on: Go-like channels in 10 lines of JavaScript
pcattori | 3 years ago | on: Go-like channels in 10 lines of JavaScript
pcattori | 9 years ago | on: Problems I Have with Python
Feedback/suggestions welcome!