Object Registration and Validation - Embedded.com

Object Registration and Validation


One of the greatest problems most programmers – especially myself -have is dealing with invalid objects. One of the most cumbersome tasksduring the debugging cycle is dealing with issues like null pointerdereference, invalid pointer dereference, and using objects that havebeen destroyed or otherwise rendered unusable.

The Object Registration pattern and the implementation detailed inthis article is meant to help identify this code through well formedruntime exceptions that note when and where the violation took place,thus helping to substantially bulletproof your classes.
(Click here to read more)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.