"R. Baumann" <[email protected]> writes: Hallo Rüdeger
>> Ich selber habe OO auch erst dank Etoys und Squeak wirklich verstanden. > Ich leider noch nicht. Im Byob-Handbuch lesen wir: > "The idea of object oriented programming is often taught in a way that makes > it seem as if a special object oriented programming language is necessary. > In fact, any language with first class procedures allows objects to be > implemented explicitly; this is a useful exercise to help demystify objects. > The central idea of this implementation is that an object is represented as > a dispatch procedure that takes a message as input and reports the > corresponding method." > Was ist eine "dispatch procedure"? Gibt es dafür einen (für Schüler) > verständlichen Ausdruck? Ich habe das BYOB-Handbuch nicht gelesen, denke aber das der Autor hier auf das von LISP (Clos) verwendete Verfahren Bezug nimmt. http://www.ravenbrook.com/doc/2003/07/15/clos-fundamentals/ Ab Kapitel 4 wird der Dispatch-Vorgang beschrieben. Sollte aber auch in jedem anderen guten Buch zu CLOS enthalten sein. Obs da was deutsches gibt weiss ich nicht. BTW: Auf Squeakmap findet man ein aktuelles LispKit (allerdings ohne CLOS). Trotzdem ganz lehrreich. Bis dann Enno
