Visitor pattern
UncleBob blog entry about the Visitor pattern got me thinking. As I’ve mentioned, I need to look into patterns again. I think that I grasp the main rationale behind the pattern, and its benefits. It might be a occupational injury since we use C++ at work, where normally adding interfaces breaks binary compability, but I feel a resistance towards adding an interface that adds little value, no real behaviour. Hmm, I wonder if it’s a useful pattern or just complicates things (hopefully I’ll know if I get around to read Holub on Patterns).
Zero comments