3 ms·
A lot of the important concepts we'd consider "object-oriented" are implicit and will likely be picked up intuitively. If you're writing python functions that
by Goladus 16y ago
A lot of the important concepts we'd consider "object-oriented" are implicit and will likely be picked up intuitively.
If you're writing python functions that return ADTs like dictionaries, sets, and lists, you're already using OO programming. Your function is a constructor, and you get back a collection of data with a set of methods that can operate on that data.
I wouldn't say that "non-OO is better" for a beginner, just that there isn't much advantage to a peculiar focus on object-orientation, especially as a program design philosophy.