Question

I've heard systems described as a "clean object model", but a precise definition does not seem to be around. It seems to refer to the classes being complete or consistent in some way.

I'm just wondering if it's referring to a specific trait or just another favorable term like 'elegant'.

Quantlib is described as "written in C++ with a clean object model".1

Was it helpful?

Solution

It's not really a technical term. A "clean" object model is a well-designed one, by whichever standard of good design. Usually it involved orthogonal classes with a clear separation of concerns and an intuitive mapping to real-world concepts, i.e. a lot of fuzziness that you'll need to judge for yourself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top