On partially-constructed objects

On partially-constructed objects    
ஆக்கம்: (author unknown) | June 27, 2010, 2:52 pm

Partially-constructed objects are a constant source of difficulty in object-oriented systems. These are objects whose construction has not completed in its entirety prior to another piece of code trying to use them. Such uses are often error-prone, because the object in question is likely not in a consistent state. Because this situation is comparatively rare in the wild, however, most people (safely) ignore or remain ignorant of the problem. Until one day they get...தொடர்ந்து படிக்கவும் »
பகுப்புகள்: