4 ms·
You can't write python 'without OOP'. Almost everything you do requires instantiating some class, or called a method on a class. Unless you write everything glo
by leshow 8y ago
You can't write python 'without OOP'. Almost everything you do requires instantiating some class, or called a method on a class. Unless you write everything globally with no mutation.
You can write python in a functional style, but you're still going to use OOP constructs.
- virmundi 8y agoAside from instantiating a DataFrame, I've written scikit/numpy/pandas code with nothing more than functions and data structures.
- pjmlp 8y agoFunctions and data structures are objects in Python.
- ilovecaching 8y agoWe’re talking about style here, not the technicality of whether something is implemented as an object or not.