News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by jonahx on Friday December 28, 2018 @01:17AM (#18775148)
> It’s human eyes that skim through all the cases, and look for a matching branch for every one of them that “ensures.”

This a thousand times. The praise in this thread is disturbing.

The absurdity of this code is the logical conclusion of ignoring decades of PL advances in favor of Go's "simplicity."

When you insist on "space shuttle" era language design, is it any surprise when you're reduced to "space shuttle" era programming? I can't imagine anything more fitting.

Re:Please do not attempt to simplify this code by hellofunk on Friday December 28, 2018 @01:55AM (#18775242)
You are forgetting the tremendous advantages that Go offers for many projects over alternative languages.

There are no perfect languages, that is certain.