Loading...

Visitor vs Iterator!

Home / Premium / Visitor vs Iterator!

At first blush, it might seem like an iterator can solve the same problem that the Visitor Pattern solves. But don’t be deceived lest you suffer the wrath of… runtime type checking -- nooooooOOOO!


You'll need an account to access this thunky content. Sign-up for a most compendious plan now!

If you previously created an account, login with one of:

Or a password: