Hi,

I have a class in my project, which is a dictionary. It holds all the declination and stuff for my language. Before I start to use it in program, it must be loaded with data. The nouns, verbs, adverbs and pronouns are loaded from dictionary files into memory, then the object is ready to be used.

For me, the most clear solution is to keep importing data from these four files in object's constructor (precisely: in methods called from constructor; one method per file). This way I know that object after being created is ready to work and I don't have to create a method like "initialise()", which should be explicitly called.

Is this solution following the good programming style rules? I find a constructor as a method which prepares an object to be useful, not just to be safe (like initialising variables, especially pointers).

Big thanks in advance for any help.