Why not allow empty code blocks?

Rustom Mody rustompmody at gmail.com
Wed Aug 3 08:43:31 EDT 2016


On Wednesday, August 3, 2016 at 6:08:08 PM UTC+5:30, Marko Rauhamaa wrote:
> Rustom Mody :
> 
> > Note: You CAN use python scheme-ishly but few people do that.
> > eg here is SICP in python with the first examples pure useful powerful
> > functions:
> > http://www-inst.eecs.berkeley.edu/~cs61a/sp12/book/functions.html#first-example
> 
> I see nothing there that is not ordinary Python.

Its an example of python used functionally — normal python (3 I think)
ie No loops, no prints (at least in early chapters Ive obviously not scoured
the whole book)
No assignment is harder, but you will see the assignment is more like
a lisp-let; ie its a single assignment



More information about the Python-list mailing list