2 Comments

I am immediately comparing your experience asking an LLM to identify responsibilities with what would happen if I tried to summarize the code using the Composed Method pattern. I'm also aware of my propensity to side with my established habits. :)

I'm left concluding this:

- The LLM helps me more when what I need is the summary.

- Extracting to Composed Method helps me more when what I need is a richer understanding of the code, which includes a helpful summary.

I genuinely don't know when I want the summary without the richer understanding. I have a bias towards the opinion that the act of extracting is much more valuable than having someone else's summary of the code.

And as I type these words, I realize one time when I only want the summary: when I intend to fix just one little thing in the code and I merely want to do it safely. In that situation, I don't need to understand the code; I merely need to change it without burning my fingers.

Huh.

Expand full comment
author

I agree.

Expand full comment