search for: humblecamelcase

Displaying 4 results from an estimated 4 matches for "humblecamelcase".

2019 Feb 13
4
changing variable naming rules in LLVM codebase
FWIW, I'm pretty strongly opposed to humbleCamelCase. We already use that style so something else. One of the biggest advantages of changing the variable naming convention would be to differentiate variables from other constructs IMO, and that's the nature of many examples here. Using underscore_names for variables as Zach suggests would,, onhe...
2019 Feb 13
3
changing variable naming rules in LLVM codebase
...oesn't make sense to do a purely aesthetic move that not everyone is going to agree on anyway, when we could do one with actual tangible value. On Wed, Feb 13, 2019 at 8:52 AM <paul.robinson at sony.com> wrote: > Chandler wrote: > > > FWIW, I'm pretty strongly opposed to humbleCamelCase. We already use that > > style so something else. > > Presumably you are equally opposed to RegularCamelCase, because we already > use *that* style for something else. > > But really, objecting on the grounds that a given style is already used for > function names is really...
2019 Feb 14
5
changing variable naming rules in LLVM codebase
...ot everyone is >> going to agree on anyway, when we could do one with actual tangible value. >> >> On Wed, Feb 13, 2019 at 8:52 AM <paul.robinson at sony.com> wrote: >> >>> Chandler wrote: >>> >>> > FWIW, I'm pretty strongly opposed to humbleCamelCase. We already use >>> that >>> > style so something else. >>> >>> Presumably you are equally opposed to RegularCamelCase, because we >>> already >>> use *that* style for something else. >>> >>> But really, objecting on the gro...
2019 Feb 12
2
changing variable naming rules in LLVM codebase
It very much depends on what is following the code snippit. If the second "if" is guarding a substantial block of code, "constantExpr" might very well be a good name. Otherwise something like "cExpr" or "constExpr" might be fine. In the past when I have seen things like "CE" in the code, it's not always immediately clear to me what it is. I