3 ms·
> good job pointing out the exception! No, go doesn't have exceptions. :D To answer the sibling comment (I don't have enough karma to go deeper), Java NIO cha
by fnord123 4y ago
> good job pointing out the exception!
No, go doesn't have exceptions. :D
To answer the sibling comment (I don't have enough karma to go deeper), Java NIO channels are barely usable. Using them is the quickest way to inject bugs into your code I've seen in Java.
Go channels are closer to blocking queues or a selection of concurrent queues depending on whether it's bounded or unbounded, or whether you use select, etc.
- kubb 4y agoit has panic/recover though which is like exceptions :)