Inefficiency of __getattr__

Ketil Z Malde ketil at ii.uib.no
Wed Oct 4 13:22:51 EDT 2000


qrczak at knm.org.pl (Marcin 'Qrczak' Kowalczyk) writes:

> One thing applying especially to Haskell: it's harder to add debugging
> output. It's the basic functional nature, returning expressions
> instead of performing computation steps. So finding bugs at runtime is
> harder, and finding bugs at compile time is easier than in imperative
> languages.

OTOH, it is easier to add test cases for functions, since you don't
(can't) depend on implicit state of objects.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Python-list mailing list