Hello list, I am used to test the code I while I am writing it.
The big advantage is, that the code is quality tested. The immediate advantage is, that it gives a simple method to run the code, to see how it works at all, without firering up the whole application. Being new with C++ I try to transfer this approach from other languages like Java or Ruby. Depencency injection is important, to be able to replace dependencies by mock objects. However with C++ it is necessary to mangage the memory usage. For dependency injection this brings up the question, when and where to free the memory. Do you have a policy how to deal with this for Lyx in special and is there a good tutorial how to handle that with C++ in general? THX \Elmar -- Elmar Hinz Freiherr-vom-Stein-Str. 1 33014 Bad Driburg TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m