The
Ruby implementation also uses the name "klass" internally for
class-type
objects. This seems to be becoming a
de facto standard for all
object-oriented systems implemented in
C; personally, I don't care what identifier is used unless the
source tree remains internally
consistent :)
I would slightly prefer this spelling rather than "_class" because the format "_var" is usually used as a form of abstraction in C, hiding away the details of the implementation of the API. A struct member named "_foo" in C is likely to not be user-serviceable, much like a "private" method/variable in OO languages.