Displaying 2 results from an estimated 2 matches for "mthestuff".
Did you mean:
thestuff
2019 Feb 14
5
changing variable naming rules in LLVM codebase
...have a naming
convention that distinguishes class members from locals, etc. I'm not sure
what that would look like, whether an m prefix for data members would be
something others would entertain, but something that makes it clear would
probably be useful. To use Paul's example, I think that mTheStuff vs.
TheStuff makes it super easy to visually identify what this is. I imagine
this wasn't mentioned in this thread or previously adopted because of some
good reason I am not aware of.
A more minor point about underscores vs camel case - what I like about
camel case is that it generally keeps my...
2019 Feb 13
3
changing variable naming rules in LLVM codebase
I want to reiterate the benefit that underscore_names would bring. To be
clear it's not my favorite style, but it does have a very concrete
advantage which is that we have a very large subproject already using it.
it doesn'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