Hacker News new | ask | show | jobs
by tsss 526 days ago
Take one look at the Kubernetes source code and it becomes clear that you can make successful software with zero clue about good software engineering.
1 comments

What is objectively bad code in the code base of k8s? Is it really worse than any other system?
Yes it is worse, much worse. A large part of the reason for that is that it's written in Go. The other part is that it's written by Googlers and sysadmin people; two groups not particularly known for their great software engineering skills. My personal experience here is mostly with cAdvisor (which I guess is not strictly part of Kubernetes but comes from the same ecosystem). It is chock full of horrible error handling (if there is any), uninitialized structures and a dozen layers of indirection.