Hi all.
I am writing an application in perl and I would like to have it print things out into global 'Report' objects(warning, error, result reports etc).
In general, I like to think of my reports as tools the applications uses constantly, but are not a part of it.
Well, creating instances of...
Hi
I have two unrelated questions regarding good object oriented practice:
1. how much should i put in a constructor: is it good to do all my initializations in it? when is it good to use init functions?
2. is it okay to use a singleton design pattern, and then use -new- to get a pointer to it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.