3 ms·
Previous thread here, about v1.0: https://news.ycombinator.com/item?id=12723474 https://news.ycombinator.com/item?id=12723474 v2.0 addresses some of the feedba
by CapacitorSet 10y ago
Previous thread here, about v1.0: https://news.ycombinator.com/item?id=12723474 https://news.ycombinator.com/item?id=12723474
v2.0 addresses some of the feedback in the previous thread, and uses Promises rather than synchronous non-blocking access.
- bungle 10y agoHuh, the first one (v. 1.0) looks much more clean. What was the problem with synchronous non-blocking?
- CapacitorSet 10y agoIt was much more difficult to understand. For whatever reason, it appears that I couldn't `splice` arrays (https://github.com/CapacitorSet/rebridge/issues/2 https://github.com/CapacitorSet/rebridge/issues/2), and I honestly couldn't figure out what was wrong. There was also the issue of error handling, which is much easier with promises.