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:
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@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@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@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
B. Bogart
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list