Liste des Groupes | Revenir à cl c |
On 05.12.2024 00:57, Bart wrote:That answer suggests we're talking at cross-purposes.On 04/12/2024 22:58, Keith Thompson wrote:If that is true I suggest to read one or two textbooks.Bart <bc@freeuk.com> writes:>>OK, if it's so simple, explain it to me.>
I'll pretend that was a sincere question.
Let's put it this way: if somebody asked me what the rule was, I
wouldn't be able to tell them.
This is my point. Algol68 requires semicolons between function definitions because its following a simple, consistent rule. C doesn't require them.Consistency? I posted a bit of Algol68 the other day; each functionWhy do you explicitly name functions here? - Semicolons are a
definition needed a semicolon, to separate it from the next.
general (sequentializing) separator in Algol 68, and not really
different from other programming languages.
Both pure separators and pure terminators have issues.(Oh, I thought you said you preferred terminators in languages.)[...]>
I'm aware of how messy and conistent it is. I've said that languages
that use ";" as a separator probably fair better, [...]
What's the difference between a scripting language and any other?[...](I know that from Awk, where I regularly use that feature.)
>
My own made a compromise here: use ";" as separator,
but introduce someWould that then be (like in Awk) that you then assume the line-end
rules so that explicit ";" is rarely need. I think that wins.
as separator? (For a scripting language I think it's okay.
So you're one of those who never uses 'goto'. OK.I said that my generated code has to use ":;" after each label; it looksIt's funny that you put such an emphasis on labels. - Jumps to
weird.
labels have academically been long deprecated but, more importantly,
in my practical work I never had a need to use them (or even think
or considering to use them). (I suppose it's how one got socialized
to design and write programs.)
You obviously have problems on a level that other folks don't have.I see things on a different level from others because I implement this stuff, both devising languages and implementing them.
Janis
Les messages affichés proviennent d'usenet.