Lies in education [was Re: The "loop and a half"]
Marko Rauhamaa
marko at pacujo.net
Fri Oct 13 10:29:44 EDT 2017
bartc <bc at freeuk.com>:
> But what about the poor user reading the code? Or can that now only be
> done with the aid or a browser that analyses 100,000 lines and applies
> that same algorithm?
>
> We mustn't forget the person writing the code, who may have a certain
> type in mind for X, but their (I nearly said 'his') analysis may not
> match the compiler's.
>
> Annotations can be useful.
The writer of the code is responsible for clear communication. However,
I don't believe boilerplate is the answer, quite the contrary.
Marko
More information about the Python-list
mailing list