Interesting talk on Python vs. Ruby and how he would like Python to have just a bit more syntactic flexibility.

Steve Holden steve at holdenweb.com
Sat Feb 20 02:12:55 EST 2010


Ben Finney wrote:
> Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:
> 
>> If Python doesn’t distinguish between procedures and functions, why
>> should it distinguish between statements and expressions?
> 
> I don't see the connection between those two predicates. Why does the
> former matter when determining the “should” of the latter?
> 
Because s similar dichotomy exists between the two pairs.

Procedure <= function not returning a value
Statement <= expression not returning a value

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010  http://us.pycon.org/
Holden Web LLC                 http://www.holdenweb.com/
UPCOMING EVENTS:        http://holdenweb.eventbrite.com/




More information about the Python-list mailing list