This just occurred to me. Maybe I've been missing something re the visitor pattern but I think this make for a nice, cool and easy way to describe it. (Also I don't remember it being described that way)
Correct me if I'm wrong but I thing that D's opApply is a form of the Visitor
pattern where the calling function's stack frame is the visitor object.
- foreach/opApply is the visitor pattern BCS
- Re: foreach/opApply is the visitor pattern Jarrett Billingsley
- Re: foreach/opApply is the visitor pattern Lars Ivar Igesund
- Re: foreach/opApply is the visitor pattern Robert Fraser
- Re: foreach/opApply is the visitor pattern grauzone
- Re: foreach/opApply is the visitor pattern Spacen Jasset