News for hackers. Stuff that matters.
Re:Go is not an easy language by kstenerud on Monday February 22, 2021 @10:31AM (#26225606)
Go isn't even simple. They tried to be simple, but mostly managed to only move the complexity around, or foist it on to the user's shoulders by not providing a layered, composeable API in the standard library.

There are some kinds of complexity you can't eliminate; only contain through careful, thoughtful architecture. Unfortunately, people often confuse this with the eliminatable kind, and end up making a bigger and bigger mess as they push things around.

Re:Go is not an easy language by t0astbread on Monday February 22, 2021 @11:39AM (#26226522)
What do you mean by "layered, composeable API"? Go does provide abstractions for common use cases in its standard library (`io.ReadAll` for example) and there are interfaces to connect different parts of the standard library (`io.Reader`/`Writer`, `fs.FS` etc.).