bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why should `break' and `continue' in functions not break loops runni


From: Ángel
Subject: Re: Why should `break' and `continue' in functions not break loops running outside of the function?
Date: Sun, 31 Oct 2021 00:00:07 +0200

On 2021-10-30 at 23:07 +0700, Robert Elz wrote:
> For people who don't believe that all programming languages should work
> the same way (usually the same way as the one they learned first) this
> isn't necessarily as important - but that's a tiny majority of people.

Uh? That's a quite different statement.

I do think it's good that languages are somewhat consistent. And if on
language A + is the addition operand, it doesn't become the division
one on a different one, or that you don't write 'if' to produce a loop.

I think that's what is being termed as counterintuitive here. If every
languages would have to be the same as every other, then they wouldn't
be different ones.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]