Обсуждение: RE: [HACKERS] RE: [QUESTIONS] The Complete and Ccomprehensive lis t of Newbie qu

Поиск
Список
Период
Сортировка

RE: [HACKERS] RE: [QUESTIONS] The Complete and Ccomprehensive lis t of Newbie qu

От
"Jackson, DeJuan"
Дата:
> Looks sort of like our procedural language, except that instead of
> having a "pool" of functions, functions can be "member functions" of a
> class.  In order to do this "all the way", it seems like we will need
> all instances to appear in their parent classes -- Select
> people.average_age() should hit all instances of people, even those
> that have been subclassed into teachers, police, lawyers, etc.
>
> Ocie Mitchell
Agreed.  I meant member functions.  But I wouldn't take away the global
pool of functions either.  This satisfies my since of OOP.