Game Programming with Pyton, Lua and Ruby

[ LiB ]

Questions and Answers

1:

Q: What about all the object-oriented features of Lua, like multiple inheritance and polymorphism?

A:

A: Although Lua has worked towards OOP support, the language isn't really meant to be the huge factory-like mechanism for building giant programs. Unlike other OOP-type languages, Lua is meant to be small and flexible. Because of this, some OOP constructs may feel like hacks to the power Smalltalk developer. For this reason, I left out some of the complicated OOP features in this chapter.

2:

Q: I want to know more about the Lua C API.

A:

A: Start reading the next chapter!

[ LiB ]

Категории