Showing results for September 2017 - Python

Sep 29, 2017
1
0

Idiomatic Python: functions versus classes

Brett Cannon
Brett Cannon

In Python, everything is an object. Compared to Java which forces you to code everything in an object-oriented programming style but still has the concept of primitive types which are not objects on their own (although Java 5 added autoboxing to help hide this discrepancy), Python has no primitive types which aren't objects but provides the concept...

code-styleidioms