MP 36: What is OOP, and why does everybody ask about it?
Enjoyed this Robot example + the concept of "storing info + actions in the same place".
I start babbling about inheritance when I explain OOP to first timers.
I very much agree with you.
As a data analyst I rarely have a need for writing OOP code. But I'm very much interested in learning as much as possible about it as it's very useful technique!
The code in the footnote needs indentation in last line to append a new robot on each pass through the loop.
OOP in Python: Why is object-oriented programming so important?
Enjoyed this Robot example + the concept of "storing info + actions in the same place".
I start babbling about inheritance when I explain OOP to first timers.
I very much agree with you.
As a data analyst I rarely have a need for writing OOP code. But I'm very much interested in learning as much as possible about it as it's very useful technique!
The code in the footnote needs indentation in last line to append a new robot on each pass through the loop.