mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

347K
active users

Jeff Grigg

@gdinwiddie @GeePawHill

Dittos!

I've never really thought this needed to be described separately, given that combining Refactoring patterns is common. [Isn't it?!?]

I look at the callers to a method and think, "This isn't quite right. There's still duplication among the callers, the parameters aren't quite right, (etc...).

So I
- Inline
- Adjust a bit
- Extract
- (And usually adjust a bit to "clean up" after.)

@gdinwiddie @GeePawHill

It's what I have to do when I realize that pulling "X" into the method was not the best idea; I should have pulled "Y" into the method instead.

@JeffGrigg @GeePawHill
That's why I called it a Refactoring Arpeggio.

@gdinwiddie @GeePawHill

Named Refactorings are Design Patterns.

And that means, to me, that they can be combined into a Pattern Language.

Not just "here's a set of related things." But "Put these 'words' together to form a 'sentence.'"

Or just that some "Refactorings" are a combination of lower level Refactoring steps, done in a certain sequence.