learning

Written by

in

I am reviewing a Visitor pattern. It’s a really nice pattern. And the best pattern explanations I can find are… in the GoF book. I am finding it more and more valuable. It allows to perform operations on the objects internals without touching the class. Generating different types of reports is a good example, as given by Uncle Bob.One thing I am not clear is why I need to create a different visit methods for each class in the hierarchy.

Also learning about memory. Visualizing the things that you want to remember is key. For instance, f = m*a, you can visualize a flying mule. I know I have a problem with memory, so that should help me. Another key aspect is repetition. You are only able to put it in long term memory if you repeat it many times.