in reply to Re: Re: Constructor/Factory Orthodoxy
in thread Constructor/Factory Orthodoxy

Let's say I call the factory "Bubba::makeBubba". What then of my example? What do you call it, etc?

I'd pick a name that expresses the intent of the operation. "makeBubba" might be fine. "makeBubbaMeal" might be better. It depends on what your example would look like fully fleshed out.

  • Comment on Re: Re: Re: Constructor/Factory Orthodoxy