[Edu-sig] Research on best language to use for teaching beginners

kirby urner kirby.urner at gmail.com
Sat Oct 3 01:18:22 CEST 2015


On Fri, Oct 2, 2015 at 10:16 AM, kirby urner <kirby.urner at gmail.com> wrote:



> That brings up another point:  once you've mastered Python's for, you also
> have easy access to list, set and dict comprehension syntax.
>

... and generator expression syntax, I should have added.  :-D

>
I like Laura's ordering as well.

Also, I spend some time talking about how not all callables are functions
and indeed the range type is a good example.  In Python 2.x, range( ) was a
built-in function returning a list.  By Python 3.now, range() is a type
call, just as are str(), list( ), dict( ), int( ), float( ) -- these are
not function calls.  A function is a type of callable, not the callable
type in the general sense.

Kirby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20151002/7f304a6c/attachment.html>


More information about the Edu-sig mailing list