
On Fri, May 2, 2008 at 2:35 PM, Michael Fawcett <michael.fawcett@gmail.com> wrote:
On Fri, May 2, 2008 at 2:22 PM, Simonson, Lucanus J <lucanus.j.simonson@intel.com> wrote:
We both have the same intent of improving programming practices through library development. The way people code geometry typically looks like:
if(condition) point.x() = value; else point.y() = value;
You are advocating a style:
if(condition) point.get<0>() = value; else point.get<1>() = value;
and I am advocating:
point.get(condition) = value;
I don't think Joel, Steven, myself, or anyone else suggesting compile-time indexing is advocating that.
I apologize, I shouldn't assume that my view of what Joel and Steven say is any more correct than your view thus far. I would like to retract that and simply state: "I am not advocating that." --Michael Fawcett