Orange Code

Whenever I work on unfamiliar code I start extracting methods. When I do this, I look for chunks of code that I can name - then I extract. Even if I end up inlining the methods I’ve extracted later, at least I have a way of temporarily hiding detail so that I can see the overall structure.

When I’m working with someone, often they point out thatI’m adding more code when I do these extractions. In terms of line count, they are right. An expression with 10 tokens on one line becomes three line...

1 like ·   •  0 comments  •  flag
Share on Twitter
Published on August 28, 2018 13:27
No comments have been added yet.