From: | Sean Case <gsc@zip.com.au> |
Newsgroups: | comp.compilers |
Date: | 6 Jul 2001 16:29:53 -0400 |
Organization: | Marginal |
References: | 01-06-073 01-07-020 01-07-029 |
Keywords: | syntax, design |
Posted-Date: | 06 Jul 2001 16:29:53 EDT |
In a comment to article 01-07-029,
our 'steemed moderator wrote:
> [I think I've seen stats that users get statement separators wrong more
> often than statement terminators, but I can't dig them up at the moment.
> -John]
Although I haven't seen the actual studies, I understand that they were
done in the context of "open" structures (as in Algol 60, Pascal, or C),
rather than enclosed structures (Algol 68, Modula, Ada). With open
structures, a misplaced separator can cause all sorts of trouble, but
with enclosed structures it's always safe to add a superfluous semicolon.
Of course, this suggests that the answer to the original question is
"Yes."
Sean Case
--
Sean Case gsc@zipworld.com.au
Return to the
comp.compilers page.
Search the
comp.compilers archives again.