Semicolons: mostly unnecessary?
Kagamin
spam at here.lot
Thu Oct 22 04:10:51 PDT 2009
AJ Wrote:
> Cons:
>
> 1. Makes most source code less comprehensible.
That depends on what parser you have. If you're a basic addict, why you bother about C family language?
> 2. Is redundant with the newline designator.
Statements don't end at newline.
> 3. Is more typing.
Code reuse saves typing.
> 5. Makes Andrei vomit.
Yeah, that's a problem.
> 6. Missing semicolons are the #1 bugaboo of all C programmers.
Programmers have parsers too.
> 7. Imposes a requirement on the common case to handle the exceptional case.
Does the sole existence of C family languages drive you mad so you want to kill'em with fire?
> 9. Imposes parser's role onto every developer.
You can't work in a different way.
> 10. Allows one to write hard-to-see "do nothings" like: for(;;);
a=b
b=a
a=b
b=a
b=b
a=a
> 12. Allows ignorant jettisoning of header file concept.
what's with header files?
More information about the Digitalmars-d
mailing list