2 ms·
For anyone interested, I wrote a piece last week taking a look at the 2k+ TODOs in the Kubernetes source code as well: https://medium.com/@augmentable/looking-a
by patrickdevivo 7y ago
For anyone interested, I wrote a piece last week taking a look at the 2k+ TODOs in the Kubernetes source code as well: https://medium.com/@augmentable/looking-at-kubernetes-2k-todo-comments-b2db42dc7fdb https://medium.com/@augmentable/looking-at-kubernetes-2k-tod...
Most were from over a year ago.
I don't think TODOs are bad practice, and I've seen a diversity of opinions on them in the comments of various posts. I think they are notoriously forgotten, and major codebases like linux and k8s are no different.
Aggressively stale TODOs though are likely an indicator of an area of code that should probably be revisited or cleaned up.