psss...I want to move from Perl to Python

Steven D'Aprano steve at pearwood.info
Fri Jan 29 08:46:23 EST 2016


On Fri, 29 Jan 2016 11:21 pm, Ulli Horlacher wrote:

> Most tutorials I found so far makes OO mandatory.


You should have started with the official tutorial:

https://docs.python.org/2/tutorial/


which doesn't get into classes until Chapter 9, after:

- using Python as a calculator;
- numbers, strings, unicode, lists;
- if, for, the range function;
- defining functions;
- stacks, queues;
- functional programming;
- list comprehensions;
- tuples, sets, dicts;
- modules;
- string formatting, reading and writing files, json; and
- exceptions

It's notable that *functional programming* is introduced before classes.



-- 
Steven




More information about the Python-list mailing list