Design: method in class or general function?

Ben Finney ben+python at benfinney.id.au
Thu Sep 7 08:34:21 EDT 2017


Steve D'Aprano <steve+python at pearwood.info> writes:

> On Thu, 7 Sep 2017 07:20 pm, Leam Hall wrote:
>
> > OOP newbie on Python 2.6.
>
> Python 2.6 is ancient, and is missing many nice features. You should
> consider using the latest version, 3.6.

Another, more compelling, reason to follow that advice: Python 2 is in
maintenance-only mode and will receive no support at all in a few years.
It is a dead end.

Python 3 is actively developed and will be supported indefinitely.

Beginners today should prefer Python 3 unless they know that they must
remain on older versions, and even then should correct whatever is
keeping them from moving to the actively-developed language.

-- 
 \              “Dvorak users of the world flgkd!” —Kirsten Chevalier, |
  `\                                                rec.humor.oracle.d |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list