Semicolons: mostly unnecessary?
Adam D. Ruppe
destructionator at gmail.com
Wed Oct 21 19:02:34 PDT 2009
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
--
Adam D. Ruppe
http://arsdnet.net
More information about the Digitalmars-d
mailing list