I wonder why people who are familiar with types are having such a hard time extrapolating that understanding to classes. There's not THAT much difference (in BlitzMax) aside from the addition of methods/functions.
What is the mental block here?
What is the mental block here?
Conceptually, it's easy. In practice, it's not so easy. It requires a very different code organization. And some things that are super easy in a straightforward, non-OOP solution, tend to get messy and awkward when you OOPify them. This is why there are entire books about design patterns and wacky-seeming concepts like class factories and so on. The trick is in getting people to use OOP where it makes sense and not going overboard. New programmers tend to make a mess with OOP.