Slices time complexity

Marko Rauhamaa marko at pacujo.net
Wed May 20 00:30:09 EDT 2015


Steven D'Aprano <steve+comp.lang.python at pearwood.info>:

> There is a little magic elf hiding inside the computer, and when you
> type an expression like '2 + 3', little tiny hammers bang it out in
> Morse Code on the elf's head; in response, the elf calculates the
> answer on his teeny tiny abacus and passes it back to the interpreter.

That would be a perfectly valid semantic explanation if it really
predicted the output.

> Since this explanation explains the observed behaviour, according to
> you it is equally valid as one involving, you know, actual facts.

It doesn't explain the observed behavior. It doesn't differentiate
between correct and incorrect outcomes.


Marko



More information about the Python-list mailing list