Max data structures / tips on making an object-oriented patch?

Aug 31, 2006 at 9:15pm

Max data structures / tips on making an object-oriented patch?

It seems to me that Max is an inherently procedure-oriented language, but I have many ideas for patches that beg to be developed in an object-oriented fashion. Does anyone have any tips for achieving more advanced data structures in Max?

#27414
Sep 1, 2006 at 12:49am

#82938
Sep 1, 2006 at 9:34am

i am with jeanfrancois; as soon as you make small abstractions
they can be your personal “object oriented” modules.
(or our, if you share them)

it starts to become real fun when you make bpatchers:

http://videosoup.org/fw110/_max/VST_LCD_DEMO.toast

http://perso.orange.fr/Paresys/ARGO/

-110

#82939
Sep 3, 2006 at 7:08am

adam wrote:
> It seems to me that Max is an inherently procedure-oriented language

Ah, and I believed for almost 20 years it is an inherently object
oriented language. (draggin objects all around… ;-)

There was a discussion about this kind of classification on the list
some time ago, worth reading…

> but I have many ideas for patches that beg to be developed in an
> object-oriented fashion. Does anyone have any tips for achieving
> more advanced data structures in Max?

What are you missing?

You could do any advanced stuff if you’d need it. When I switched from
Modula II to Max I was missing local variables, but you could have
something like that with #0_names. I still miss local variables, but for
aesthetic reasons, I don’t need them…

All the classical object oriented stuff could be incorporated with mxj
and Java by the way… (but then you move back to an ancient way of
programming again… ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#82940
Sep 3, 2006 at 7:25am

Stefan : local variables? value and pvar no?

v a d e //

http://www.vade.info
abstrakt.vade.info

On Sep 3, 2006, at 3:08 AM, Stefan Tiedje wrote:

> adam wrote:
>> It seems to me that Max is an inherently procedure-oriented language
>
> Ah, and I believed for almost 20 years it is an inherently object
> oriented language. (draggin objects all around… ;-)
>
> There was a discussion about this kind of classification on the
> list some time ago, worth reading…
>
>> but I have many ideas for patches that beg to be developed in an
>> object-oriented fashion. Does anyone have any tips for achieving
>> more advanced data structures in Max?
>
> What are you missing?
>
> You could do any advanced stuff if you’d need it. When I switched
> from Modula II to Max I was missing local variables, but you could
> have something like that with #0_names. I still miss local
> variables, but for aesthetic reasons, I don’t need them…
>
> All the classical object oriented stuff could be incorporated with
> mxj and Java by the way… (but then you move back to an ancient
> way of programming again… ;-)
>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>

#82941
Sep 6, 2006 at 1:13pm

vade wrote:
> Stefan : local variables? value and pvar no?

It was in the past more about the name space and by the way thats now
solved with the pattr family, especially pattrforward. Local variables
combined with accessability across patchers. Just the pattrbackward is
missing… ;-)
The local variable is the object name…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#82942

You must be logged in to reply to this topic.