Subject: [ggl] implementation constructs and their names
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-04 09:29:42
>> - "apply" (also here) can be used for anything but also here, like "run", is
>> apply appropriate for returning the area-sum?
> Like "run" this one sounds good to me, even when it comes to calculate
> something. It has my preference above "run" because it reminds things
> from Boost.MPL, Boost.Fusion and other, thus making the whole stuff
> (...)I think "apply" should be heard like "we apply the area function on
> this geometry" or "we apply the intersection function on those
> geometries" rather than "we apply the area of this geometry" or "we
> apply the intersection of those geometries" which would sound
> conceptually wrong. Once stated like that, "apply" goes everywhere.
> Having one unique term will improve consistency and readibility, which
> IMO is more important than closely reflect what we're actually doing
> at each line of code.
> So to summarize I'd say: "apply" everywhere :-)
Thanks for your very clear meaning and exlanations, I agree, we'll use
structs and take we'll apply everywhere :-)
-------------- next part --------------
An HTML attachment was scrubbed...
Geometry list run by mateusz at loskot.net