[PD] Local "variable" names question + messages
Josh Steiner
joschi at eds.org
Mon Aug 19 20:33:12 CEST 2002
yeah, its really just another arbitrary aspect of a programming language
(remember folks, pd is a programming language, not fruity loops or
cakewalk :)
other examples of weird rules you just have to read up on and memorize:
* hot and cold inlets.
* depth first execution
* messages passed based on the order of how you connect objects
so while it took me quite a while to get comforable with $1's, it does
make a certain sense. programming is a bitch :)
now, i think the notation could be changed to reflect arguments to the
parent patch and arguments to the object, but it would break
compatability across _all_ pd, max and jmax patches ever made... kind of
a high cost :)
-josh
Ben Bogart - FMPM/F1999 wrote:
>What would you suggest as an alternative to $1 in object boxes? $1 works
>the same as in MAX for messages, what does MAX use in object boxes?
>
>I'm happy about how it works now, and not really in the mood to change
>all my patches! ;)
>
>Ben
>
>
>On Mon, 19 Aug 2002, Joseph Zitt wrote:
>
>
>
>>On Mon, 19 Aug 2002 09:43:29 -0700
>>Miller Puckette <mpuckett at man104-1.ucsd.edu> wrote:
>>
>>
>>
>>>I think it might be unwise... The "$" meanings in objects and messages
>>>are actually the same; the text is simply interpeted in different
>>>contexts.
>>>
>>>
>>Well, I think what we may be hitting here is the frequent gap between
>>programmer and end-user perceptions. By saying that they "are actually
>>the same", I suspect that you're coming from seeing that they share the
>>same code (I'm not sure, not being quite able to interpret the code
>>itself). However, from the viewpoint of someone using the program
>>without knowledge of the innards of the source, they are quite
>>different and behave quite differently. I believe I've seen this issue
>>come up a few times; in such cases, I've found that changing the
>>documentation tends to be less effective than enhancing the interface.
>>
>>--
>>| josephzitt at josephzitt.com http://www.josephzitt.com/ |
>>| http://www.metatronpress.com/jzitt/ http://www.mp3.com/josephzitt/ |
>>| == New book: Surprise Me with Beauty: the Music of Human Systems == |
>>| Comma / Gray Code Silence: the John Cage Discussion List |
>>
>>
>>_______________________________________________
>>PD-list mailing list
>>PD-list at iem.kug.ac.at
>>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>>
>>
>>
>
>
>
>B. Bogart
>---------
>
>
>_______________________________________________
>PD-list mailing list
>PD-list at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>
>
--
___________________________________________________________
Josh .. Yoshi .. Joschi .. http://eds.org/~joschi/vitriolix
More information about the Pd-list
mailing list