Error!
Success!

The Snatch Pattern

0
kicks

The Snatch Pattern  (Unpublished)

I named this pattern, or anti-pattern, after Invasion of the Body Snatchers. The gist is that you’re writing managed code, and you have one type that you’d like to treat as another. The instance is going to be snatched and the same reference returned imitating a different type… kind of like pointers! Only, I didn’t use pointers. This is done with managed code.


Kicked By:
Drop Kicked By: