GeekArticles
Java
Core JavaOn the Tension Between Object-Oriented and Generic Programming in C++
Author: artima.com |
Published: 16th Oct 2007 |
Visited: 149 times |
Add CommentFiled in: Core Java
The author discusses how the use of generic programming in C++ can lead to conflicts with object-oriented design principles. He demonstrates how a technique known as type erasure can often be used to resolve these conflicts.
An in-depth example is presented: any_iterator, a type-safe, heterogeneous C++ iterator.
Read Article Sponsored Links
Related Articles
• Speeding Up Object Instantiation Object instantiation is important for Ajax since it increases the loading time of its functions. Developers have to work with objects most of the time since the objects should be able to determine the behavior of the functions as well as its performance.
However, the number of objects in an Ajax ap ...
• Service Oriented Java Business Integration Review
Service Oriented Java Business Integration Review
Introduction
If read through the texts which give you an introduction to SOA or Web Services, you will often find them to be quite frustrating, and the reason for this is because they spend too much time referencing business processes which are ela ...
• Next-Generation Object-Oriented Databases
Object-oriented databases complement relational databases in important ways, says Anat Gafni, VP of Engineering at db4objects, the company behind the open-source object database db4o. In this interview with Artima, Gafni explains how OO databases support agile development, and how they co-exist wit ...