[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sv: C/C++ layering in PFile



>>btw, why locals in StartWithCaps? It makes them look like classes or
>>functions, and I don't really see how having them start with a capital
>>letter is a benefit.
>
>Not like functions (the () are missing - that's really clear), and they
>
Sometimes, when the address of a function is taken, there isn't a ().

>also can't be misinterpreted as classes because that's obvious from the
>context.
>
If one has to take the context into account, then it will tak one longer to
quick-read the code.

>What do you mean with the "start with a capital" sentence? As opposed to
>startWithSmallButAllElseCapped or everything_small_and_underscores
>or something else?
>
startSmallButallElseCapped.