re: Python for JavaScript Developers VIEW POST

TOP OF THREAD FULL DISCUSSION
re: "For loops are like JavaScript foreach loops" Actually they're more like ES6's for of loops: developer.mozilla.org/en-US/docs/W... Also when creat...
 

you should inherit from object

This only makes a difference in Python2, where there was 'old style' and 'new style' classes. In Python3 there'n so difference between
class Animal: and class Animal(object):

Also, in 2017 there's little reason to be using Python 3.0.1 when 3.6 is out :)

code of conduct - report abuse