by acbart · 1y ago · 0 comments
Like how the phrase “to boldly go where no man has gone before” will bring out pendants.
If I had to hazard some kind of heuristic with 99% applicability, it'd be to always strive to have code with as few indentations (branches) as possible. If your code is getting too indented, those deep Vs are either a sign that your implementation has a strong mismatch with the underlying problem or you need to break things up into smaller functions.