¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: What OO feature would you call Swift¡¯s Extension


 

¿ªÔÆÌåÓý

David,

I think of the "seam" metaphor as "a place where two pieces are loosely stitched together, so we can safely connect different pieces."

But Michael Feathers is more precise:

"A seam is a place where you can alter the behavior in your program without editing in that place."

It gives us a place to break dependencies.

- Jon

On Feb 25, 2021, at 8:19 AM, Sleepyfox <sleepyfox@...> wrote:

'Seam' here refers to a concept popularised by Michael Feathers' book
"Working effectively with legacy code"


There's some good info here:
https://www.informit.com/articles/article.aspx?p=359417&seqNum=3

Fox
---

On Thu, 25 Feb 2021 at 14:28, David Koontz <david@...> wrote:

That example is very helpful - thank you.

I don't know the meaning of "act as our seam"? ?Why do we want/need a seam? ?What is a seam?

Clearly this caveman must get out my stick (ones) and dead snakes (zeros) to play with your example.








Join [email protected] to automatically receive all group messages.