On Thu, Sep 7, 2017, at 11:16 PM, Emilio Cobos Álvarez wrote:
> This is very context dependent, I'd never omit a name in a function that
> takes (Element& aParent, Element& aChild), but it seems reasonable to
> omit it in the case where there's no better name, like (InsertionKind
> aInsertionKind) or (Element& aElement).

IMO even the seemly redundant name |aElement| conveys information like
"this method can take any Element" and that is very different when I see
|aParent| or |aChild|.

Kanru
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to