Files
bDS/tests/assets/wxr-ref/devrandom-random-thoughts-on-programming-in-parentheses-coops-an-introduction-to-chicken-schemes-object-system.md

1.2 KiB

id, projectId, title, slug, status, createdAt, updatedAt, tags, categories, author, publishedAt
id projectId title slug status createdAt updatedAt tags categories author publishedAt
432af9b5-0143-4c03-93d5-5ecc3db61936 f2d5e497-5a16-4033-864a-0df066e05e17 /dev/random - Random Thoughts On Programming In Parentheses - Coops - An introduction to chicken scheme's object system devrandom-random-thoughts-on-programming-in-parentheses-coops-an-introduction-to-chicken-schemes-object-system published 2011-01-21T14:03:36.000Z 2011-02-28T15:18:35.000Z
lisp
programmieren
scheme
asides
hugo 2011-01-21T13:03:36.000Z

Genau. Wenn man schon sowas langweiliges wie "warum generic functions und nicht single-object-dispatch" erklären will, dann mit solchen Beispielen:

A short example: Imagine you have a class human which is inherited by a class male and female. Now as we all have an urge to reproduce where to put a method for having sex? Create a method haveSex in the human class, duplicate it in male or female? What would the argument to such a class be? What about having sex with people of the same sex, toys, animals, buildings...

via /dev/random - Random Thoughts On Programming In Parentheses - Coops - An introduction to chicken scheme's object system.