Goto (Posting On Python-List Prohibited)

bartc bc at freeuk.com
Mon Jan 1 12:17:15 EST 2018


On 01/01/2018 14:54, Peter J. Holzer wrote:
> On 2017-12-30 11:07:56 -0500, Dennis Lee Bieber wrote:

> Yes. I don't know any language which enforces "pure" structured
> programming. They all have some constructs (goto, break, return,
> exceptions, ...) to leave a block early. I don't think that invalidates
> my point that the concept of structured programming predates Pascal.

Functional languages?

Some banish not only goto, but the concepts of assignments, and variables.

And even functions have to be pure with no side-effects, which makes I/O 
a problem.

They are really intent on making life difficult.

-- 
bartc




More information about the Python-list mailing list