Despite what I said in class, I'm no longer convinced that this factory suggestion makes sense. To quote wikipedia, (http://en.wikipedia.org/wiki/Factory_method_pattern) the factory method pattern "deals with the problem of creating objects (products) without specifying the exact class of object that will be created."
This doesn't seem like an issue here. But, perhaps I am misinterpreting the suggestion.
I'm not so good at blogger, i can't figure out how to create a new post but i created a googledoc for the class it is set to public so yeah, here is the link https://docs.google.com/document/d/1GTYJIsngNS80wEahFXbXzfoS7iaxgx3loBxjcpMVu9U/edit
Despite what I said in class, I'm no longer convinced that this factory suggestion makes sense. To quote wikipedia, (http://en.wikipedia.org/wiki/Factory_method_pattern)
ReplyDeletethe factory method pattern "deals with the problem of creating objects (products) without specifying the exact class of object that will be created."
This doesn't seem like an issue here. But, perhaps I am misinterpreting the suggestion.
I'm not so good at blogger, i can't figure out how to create a new post but i created a googledoc for the class it is set to public so yeah, here is the link
ReplyDeletehttps://docs.google.com/document/d/1GTYJIsngNS80wEahFXbXzfoS7iaxgx3loBxjcpMVu9U/edit