Semicolons: mostly unnecessary?
aj at nospam.net
Wed Oct 21 19:25:34 PDT 2009
"Adam D. Ruppe" <destructionator at gmail.com> wrote in message
news:mailman.227.1256176484.20261.digitalmars-d at puremagic.com...
> On Wed, Oct 21, 2009 at 08:42:31PM -0500, AJ wrote:
> The OP was not about "symbols"
> It was specifically about semicolons as statement terminators on \
> single-statement lines
> Your defending argument was
> Well its more than less typing
> The biggest boon is time to comprehend the mind can \
> parse less symbols faster
> That argument just doesnt hold water
> Well, if they were "the same thing", they wouldn't be something else \
> , now would they?
> The point is that symbols serve as both a visual anchor and \
> a parsing anchor for the compiler
> You can quickly scan longer statements for a semicolon ( \
> or a period in prose) to see where it ends
> Periods and semicolons might be different symbols, but \
> they serve exactly the same purpose
> Whitespace simply doesn't do a very good job
That's not D source code. Why do you keep trying to use English text as an
example? If you're trying to make a case for the use of semicolons as
statement terminators on single-statement lines, you're actually destroying
your own case! That you say "whitespace" instead of "newline" hurts your
More information about the Digitalmars-d