Re: Variable naming conventions.
In article
<a6a334d8-f65f-4b38-a470-a60b1a2ba6b7@b1 g2000hsg.google groups.com>,
s0suk3@gmail.co m wrote:
Sebastian, I re-read William Pursell's post you replied to and he was very
careful to avoid stating opinion as fact. Maybe English isn't your native
language? Here's a breakdown (and yes, I have too much time, so no need to
point that out), with <added for grouping, and [] as added comments:
Yes, you can say one is better than the other. Such a statement
["one is better than the other"] is a statement of preferences, and
stating that <using underscores as a separator is better than mixed
caseis simply a statement of that preference. [Maybe you tripped
up on this sentence? He's providing "using underscores as a
separator is better than mixed case" as an example statement,
noting that it's a statement of preference.] There is much
disagreement about the claim that <mixed case is as readable as
underscore separators(I happen to find mixed case pretty
unreadable.) [Here again, he's noting that there is disagreement
among people about this particular claim, and in parenthesis, he's
noting his preference.] I've met very few people who find
underscores to be unreadable, but many who find mixed case to be
ugly. [Again, an objective fact; he's reporting the expressed
preference of other people he's met. What they expressed is a fact
about what they prefer.] The only complaint I've ever heard about
using underscores is that it's harder to type the name, and in my
opinion that is an utterly vacuous complaint. (2 reasons: editors
will auto-complete for you, and the focus should be on
maintainability , not on typing speed.) [Here he expressed an
opinion, clearly prefixed, and included objective reasons why one
might adopt the same preference]
You are absolutely correct that my initial statement is merely an
expression of personal preference. In my opinion, mixed case names
are bad, and I strongly encourage anyone who is adopting a naming
convention to avoid them.
In article
<a6a334d8-f65f-4b38-a470-a60b1a2ba6b7@b1 g2000hsg.google groups.com>,
s0suk3@gmail.co m wrote:
[snip objections that William Pursell was stating opinion as fact]
careful to avoid stating opinion as fact. Maybe English isn't your native
language? Here's a breakdown (and yes, I have too much time, so no need to
point that out), with <added for grouping, and [] as added comments:
Yes, you can say one is better than the other. Such a statement
["one is better than the other"] is a statement of preferences, and
stating that <using underscores as a separator is better than mixed
caseis simply a statement of that preference. [Maybe you tripped
up on this sentence? He's providing "using underscores as a
separator is better than mixed case" as an example statement,
noting that it's a statement of preference.] There is much
disagreement about the claim that <mixed case is as readable as
underscore separators(I happen to find mixed case pretty
unreadable.) [Here again, he's noting that there is disagreement
among people about this particular claim, and in parenthesis, he's
noting his preference.] I've met very few people who find
underscores to be unreadable, but many who find mixed case to be
ugly. [Again, an objective fact; he's reporting the expressed
preference of other people he's met. What they expressed is a fact
about what they prefer.] The only complaint I've ever heard about
using underscores is that it's harder to type the name, and in my
opinion that is an utterly vacuous complaint. (2 reasons: editors
will auto-complete for you, and the focus should be on
maintainability , not on typing speed.) [Here he expressed an
opinion, clearly prefixed, and included objective reasons why one
might adopt the same preference]
You are absolutely correct that my initial statement is merely an
expression of personal preference. In my opinion, mixed case names
are bad, and I strongly encourage anyone who is adopting a naming
convention to avoid them.
Comment