3 ms·
It’s really good for rote stuff. In particular writing if err != nil { return fmt.Errorf(“helpful context: %w”, err) } in Go, or getting the structure for some
by glacials 4y ago
It’s really good for rote stuff. In particular writing if err != nil { return fmt.Errorf(“helpful context: %w”, err) } in Go, or getting the structure for some YAML down so you can go off and edit it.
It’s also super helpful for languages whose ethe value building utility functions over importing them, like parsing environment variables into types in Python. So many people have written their own functions to do this that the training set is pretty good.