News for hackers. Stuff that matters.
Re:Half a million lines of Go by coryrc on Sunday May 16, 2021 @08:35PM (#27178736)
I'm most familiar with Kubernetes. This[0] would not exist if the language had sufficient expressive power. But Prometheus, Kubernetes, etcd... they're distributed CRUD. There's so. much. yaml (runtime flex types) and I believe that's in part due to the inflexibility of the language itself.

0: https://github.com/kubernetes/code-generator

Re:Half a million lines of Go by closeparen on Sunday May 16, 2021 @09:02PM (#27178931)
The whole thing of Kubernetes is to take a goal state as data and abstract away the procedures that make it happen. You were always going to communicate with it in a data serialization format, not a programming language. It happened to choose YAML.
Re:Half a million lines of Go by coryrc on Sunday May 16, 2021 @09:32PM (#27179157)
> You were always going to communicate with it in a data serialization format

Perhaps, it's hard to argue that a data serialization format is worse than previous alternative approaches (OLE?), but specifically a schema-less one should be up for debate? (Clearly I've become a protobuf, um, fan? Might be a bit far)