[PD-dev] getting the classname in an class

Mathieu Bouchard matju at artengine.ca
Wed Oct 31 20:37:48 CET 2007


On Wed, 31 Oct 2007, Hans-Christoph Steiner wrote:

> Yes, this is small, but it can't hurt, it's quite simple, and I think its 
> often makes for more readable code.

I don't see any difference in readability... well, the only small one is 
that one has to lookup obj_symbol to make sure that it's a t_symbol *... 
but that's more in favour of not doing the change.

> This kind of thing seems pretty common in Max/MSP externals.

I'm not much in favour of imitation for its own sake...

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-dev mailing list