[llvm-dev] RFC: should we spell lambdas like functions?

Chandler Carruth via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 11 03:38:58 PDT 2018


On Thu, Jul 5, 2018 at 12:57 PM Duncan P. N. Exon Smith via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I argue we should spell C++ lambdas (and other function-like variables)
> like functions, not like variables.
>
> - Use verbs, not nouns.
>

Totally agree.


> - Use lowerCamelCase.
>

Really disagree.

I don't like having two different case conventions for variables. They're
all variables, and I think they should be named using the same convention.


>
> Here's a patch that implements the change to the coding standards:
> https://reviews.llvm.org/D48991
>
> Thoughts?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180711/7a5d5a25/attachment.html>


More information about the llvm-dev mailing list