|
Geometry : |
Subject: [ggl] implementation constructs and their names
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-04 09:29:42
Hi Bruno,
>> - "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
> clearer.
>
> (...)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 :-)
Regards, Barend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20090604/04c7893b/attachment.html
Geometry list run by mateusz at loskot.net