(no title)
lemmsjid | 2 years ago
Maybe for people who use it negatively, "refactoring" or "unplanned improving" isn't "yak shaving" until you've gone beyond what's reasonable. E.g. if you're doing some recursive refactoring, and improving the code base, great, but yak shaving is when you've truly gone off course.
Either way, I think this is where healthy team dynamics are so useful, because it's hard for the yak shaver to know if they've gone off course or are doing something unplanned but useful. If I think I'm deep in a yak shaving exercise, but I think the results will be beneficial, I announce that I'm yak shaving and explain why. If the rest of the team thinks it isn't truly a useful exercise, they can guide me out of it.
jt2190|2 years ago
Yak-shaving is a chain of preconditions, e.g:
- In order to do Z, I must first do Y
- In order to do Y, I must first do X
- In order to do X, I must first do W
Etc.
Clearly the way to improve things is to shorten the chain of preconditions as much as is reasonable.
In your example, it sounds like refactoring can “go off course”, but if we’re just shortening a chain of preconditions, how would it go off course? Wouldn’t we know what precondition we were eliminating?
lemmsjid|2 years ago
ithkuil|2 years ago
The act of shaving it is good
zilti|2 years ago