Search:

Type: Posts; User: Chris.Brown.SPE

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    985

    Re: Static factory method

    Yeah and he's right in a sense. The factory design pattern has to do with having a whole new class that is a factory used to pump out your objects. What he is referring to as a factory method is just...
  2. Replies
    6
    Views
    985

    Re: Static factory method

    I think you may be getting hung up on the terminology. "Factory" just refers to a design pattern. It's just an idea. "Public" is the visibility and "Static" refers to the fact that it can be called...
  3. Replies
    6
    Views
    985

    Re: Static factory method

    A factory is a whole class designed to create objects for you. They sometimes have multiple ways of getting the object so even though you are getting the same object either way, it is configured in a...
Results 1 to 3 of 3