ooad

technical aspects of 'isa' in c++

what exactly does it mean from technical point of view, I understood that it means that my derived class can always be converted to base class, that's it? I read some materials without any reference to technical aspects, only philosophy! thanks in advance ...

A Question about C++ / OOD Interview Questions

What is the most interesting or difficult question asked to you during an C++/OOD interview? What is the most interesting or difficult question you like to ask to a candidate during a C++/OOD interview? Edit: Updated the misleading Title Edit: Ofcourse: 1. When you are the one being interviewed. 2. When you are intervieweing so...

How to handle billions of objects without "Outofmemory" error

Hi All, I have an application which may needs to process billions of objects.Each object of is of TRange class type. These ranges are created at different parts of an algorithm which depends on certain conditions and other object properties. As a result, if you have 100 items, you can't directly create the 100th object without creatin...

Encapsulation. Well-designed class

Today I read a book and the author wrote that in a well-designed class the only way to access attributes is through one of that class methods. Is it a widely accepted thought? Why is it so important to encapsulate the attributes? What could be the consequences of not doing it? I read somewhere earlier that this improves security or somet...

Splitting objects into their most fundamental parts..

Not sure if the title captures what I'm trying to say here. When designing in OO should I be splitting my objects up into their most specific areas - so if I have a factory object that deals with creating objects but later on i come across a way of creating objects for another purpose even though they may be the same objects is it worth...