Why not allow empty code blocks?

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Jul 30 21:37:27 EDT 2016


Michael Torrie wrote:
> Python would have been alright to teach "programming," but to
> teach the actual theory of programming languages (lambda calculus, lists
> as a foundation unit for all other data structures)

I wouldn't say that "lists as a foundation unit for all other
data structures" is (or should be) part of the fundamental theory
of programming languages.

It seems to me that Python's notions of sequences and mappings
are much more general and elegant theoretical elements to build
on.

-- 
Greg



More information about the Python-list mailing list