Global in multiple files
rnd at onego.ru
Mon Jun 11 04:51:09 CEST 2001
On Sun, 10 Jun 2001, Rainer Deyke wrote:
>"Roman Suzi" <rnd at onego.ru> wrote in message
>news:mailman.992195796.5861.python-list at python.org...
>> On 10 Jun 2001, Artur Skura wrote:
>> >>Why do you need global variable in the OOP design anyway?
>> >I knew you would say that! ;)
>> Yes, of course. Because in True Object Design there is no place for
>> anything global.
>That's a silly philosophy.
That was said with irony. There is always TheUniverse object.
It is global, depending on philosophy and religion ;-)
>Classes are objects; are they allowed to be global?
Classes belong to meta-system, which serves the purpose
of description of the system. That's why classes are
usually global. At least at the module level.
>What about objects that provide a higher level of abstraction than
>Rainer Deyke (root at rainerdeyke.com)
>Shareware computer games - http://rainerdeyke.com
>"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Monday, June 11, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Useless Invention: Fur sink." _/
More information about the Python-list