Robert Dewar a �crit dans le message : 8dmm12$1j7$1@nnrp1.deja.com... > The point is that the OO approach is most often useful ONLY > if it does indeed model the real world, so if your real world > problem is not naturally "object oriented", then forcing it > into the OO paradigm may considerably distort the model. > Absolutely. I have a book about Eiffel that takes as a first example of OOP... an expression evaluator. Every time you encounter a (sub)expression, you create an "expression" object, call its "evaluate" method, and then destroy the object... Like M. Gauthier likes to say: "not everything is an object" -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog