title: What is the difference between intrinsic and extrinsic state as described in Flyweight Pattern?
body: <p>From the chapter on <code>FlyWeight</code> Pattern inside <a href="https://rads.stackoverflow.com/amzn/click/com/0201633612" rel="noreferrer" rel="nofollow noreferrer">Gang of Four</a> the FlyWeight pattern is applicable <strong>when most object state can be made extrinsic</strong>. </p>
  
  <p>What does <code>extrinsic state</code> mean ? I get the feeling that this pattern is used for sharing of objects . If objects are to be shared , then how can that object even have any state at all ? </p>