Proposed new syntax

Ian Kelly ian.g.kelly at gmail.com
Thu Aug 17 16:28:04 EDT 2017


On Thu, Aug 17, 2017 at 1:19 PM, Pavol Lisy <pavol.lisy at gmail.com> wrote:
> On 8/17/17, Gregory Ewing <greg.ewing at canterbury.ac.nz> wrote:
>> Steve D'Aprano wrote:
>>> If he wanted declarative semantics, why didn't he argue for declarative
>>> syntax
>>> like "select...where", instead of choosing procedural syntax which matches
>>> the
>>> actual procedural semantics given?
>>
>> I don't agree that the word "for" necessarily implies proceduralness.
>
> With this logic (I humbly think that) word "while" neither
> necessarilly implies proceduralness.

"while" implies a condition that is currently true and may at some
point stop being true. To me, that sequentiality does imply
proceduralness.

"for", to quote from Merriam-Webster, indicates "equivalence in
exchange". A precise definition seems hard to nail down, but there's
no such implication there.



More information about the Python-list mailing list