[Baypiggies] Trivial OOP pattern problem

Ian Zimmerman itz at buug.org
Fri Jun 15 07:52:14 CEST 2012

Isaac> Hi, Why do you need each of the methods to return the instance?
Isaac> Can you just wrap the method calls in a function and return the
Isaac> instance?

I am not married to the idea of a wrapper class, but I don't understand
what you propose instead.  What would the example code look like under
your scheme?

Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.

More information about the Baypiggies mailing list