On Jun 18, 2013, at 7:05 PM, Ryosuke Niwa <rn...@webkit.org> wrote:
> requiredStyleResolver sounds as if it's a special (required) type of a style
> resolver as opposed to the caller requiring it.
That is true.
> Why don't we call it requireStyleResolver() instead?
Functions with return values don’t read well when they are verb phrases instead
of noun phrases. It doesn’t make grammatical sense to perform an operation on a
verb. Other ideas, maybe not so great:
StyleResolver& mandatoryStyleResolver();
StyleResolver& neededStyleResolver();
Not loving any of these yet, I guess. They seem to have the same problem as
requiredStyleResolver.
-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev