3 ms·
Some code snippets and images would really help here. Also some more concrete examples. I understand the main point that data is everything, but the author's a
by armchairhacker 5y ago
Some code snippets and images would really help here. Also some more concrete examples.
I understand the main point that data is everything, but the author's arguments are hard to learn and go over my head.
- Rd6n6 5y agoAgreed. When they criticize the OOP approach to modelling game objects, they really needs to give an example of how they think it should be done using the data approach. There are a dozen ways to do this that they may be referring to, I’m not sure which it is The wording makes it seem like they are criticizing objects because encapsulation makes the contained data less reusable. Well… that’s the whole point of encapsulation. I think the author is trying to say some things and it’s just not coming through as clearly as they intended
- skavi 5y agoGo to any other chapter for plenty of code snippets. The first chapter is more meant to motivate than explain.