|
|
|
|
|
by mminer
2695 days ago
|
|
I similarly have difficulty learning a concept when it's presented using real-world metaphors that aren't often actually expressed via code. This is how object oriented programming was taught to me: imagine a door object, which contains methods open and close, and it contains a knob property, which is its own object with functions to turn left and right, and so forth. Once you're familiar with OOP this might seem like a good way to explain the concept, but without a specific application to apply it to, it's difficult to see the purpose. |
|
The only time these overlap is in video games, which is usually not used as the context for teaching software development when OOP is taught.