News for hackers. Stuff that matters.
Re:Learning a new language, or how I gained familiarity with Go by fnord123 on Wednesday August 17, 2022 @03:57PM (#32500987)
> 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.

Re:Learning a new language, or how I gained familiarity with Go by kubb on Thursday August 18, 2022 @05:11AM (#32507097)
it has panic/recover though which is like exceptions :)