self.python vs Current.eiffel

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Sep 26 16:09:00 EDT 2000


Tue, 26 Sep 2000 18:26:05 +0200, Christian Tanzer <tanzer at swing.co.at> pisze:

> I currently don't have a copy of Meyer's book at hand but I think
> the quoted statement talks about the Eiffel rule that a function
> must not have side effects. Therefore assignments to instance
> attributes are not allowed in the function.

This rule is a convention but is not enforced by the language.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list