4 ms·
Have you tried to read the Kubernetes or Docker codebases?
by asdf88990 3mo ago
Have you tried to read the Kubernetes or Docker codebases?
- thiht 3mo agoKubernetes is a behemoth, but the Docker (Moby) source code is actually pretty easy to get into (if you're already a Docker user and understand how containers work)
- asdf88990 3mo agoIf you think Docker code is easy to get into then you haven’t seen clean code.
- thiht 3mo agoThe point is in Go it's pretty hard to write code so ugly that it'll be hard to read. I'm actually quite confident I could quickly onboard on almost any Go codebase (Kubernetes might be an exception). When I used to work with Java, I very rarely even tried to read the source code of my dependencies because it was unreadable.
- BobbyJo 3mo agoYes, I find the K8s codebase pretty easy to read actually, but I am biased since I work with K8s and the codebase makes a lot of sense when you understand what everything does already.