Tuesday, November 22, 2011

Graph Factories

A thread to discuss the question raised in class today, about using the "factory pattern" to produce graphs.

2 comments:

  1. 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.

    ReplyDelete
  2. 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

    ReplyDelete

Note: Only a member of this blog may post a comment.