(no title)
acbart
|
9 months ago
And then at some point someone shows you how Classes can be verbs, and functions can be nouns, and your brain hurts for a while. You overuse that paradigm for a while, and eventually learn to find the appropriate balance of ideas.
2muchcoffeeman|9 months ago
Like how the phrase “to boldly go where no man has gone before” will bring out pendants.
AStonesThrow|9 months ago
nailer|9 months ago
angra_mainyu|9 months ago
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.
cdaringe|9 months ago
kiviuq|9 months ago