[PD] Finding "$0" and dealing with it in messages

Frank Barknecht fbar at footils.org
Wed Nov 25 10:50:00 CET 2009


Hallo,
Roman Haefeli hat gesagt: // Roman Haefeli wrote:

> I wonder, what makes one any smarter. It doesn't make you any smarter, when
> knowing about all the underlying mechanisms and special cases of Pd, it only
> makes you know more. However, it *would* you make smarter, if you would be
> able to apply your current experiences on new cases, that you haven't
> experienced before, for instance: you found, that [route] strips the
> selector off the message 'list one two' and 'hallo velo', so that you would
> naturally assume, that [route] would strip off any selector. However, it
> doesn't,  which makes you have to learn every single case separately.

Of course you have to learn every single object behaviour separately! There's
no way around it. [prepend] in Cyclone is different from [list prepend], and
that's by design, not a bug (as symbol-selector handling in [route] might be).

But to be able to understand what makes them different, you have to understand
at least a little bit about the anatomy of Pd's messages and ideally even how
messages with different selectors call different methods of a Pd object.
Explaing this makes you smarter. And then being smarter can help with the
tedious task of memorizing object behaviours (or knowing when to look them up).
Or it will make you add a [list trim] in front of most [route] objects.  (Btw.:
all_about_data_types.pd doesn't have a single [list trim] inside ...)

Ciao
-- 
Frank




More information about the Pd-list mailing list