Always had issues with OOP because I thought it might be inefficient compared to to a procedural language (more complicated for the compiler) and I had used procedural languages for so long that it felt awkward to change.
When you think about it OOP really suits game programming - especially inheritance. At least for the average game I think - players, aliens and the like inheriting common attributes and extending others. Really like the way objects of a particular class are dealt with as a unit.
But does it work for all games? Chess for instance? I don't think it does. Maybe I'm still thinking in procedural terms, but I think procedural programming suits this type of game - rather than a shoot 'em up for instance.
When you think about it OOP really suits game programming - especially inheritance. At least for the average game I think - players, aliens and the like inheriting common attributes and extending others. Really like the way objects of a particular class are dealt with as a unit.
But does it work for all games? Chess for instance? I don't think it does. Maybe I'm still thinking in procedural terms, but I think procedural programming suits this type of game - rather than a shoot 'em up for instance.