
Arash Partow wrote:
Joel de Guzman wrote:
That's besides the point. The point is that you should be able to use different models of the point concept interchangeably much like STL algorithms can work on different container types. I understand what the original poster was trying to convey, and your opinion is valid, but they both need much more clarification than saying things should be interchangeable.
I think you are missing my point. I could very well rename "distance" to "foo" and my point still holds.
If we are talking high level abstraction principles in s/w design then this thread may never end :>
I am talking about generic programming and C++ concepts: http://www.research.att.com/~bs/popl06.pdf. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net