[chuck-users] static function overloading

Michael Heuer heuermh at gmail.com
Tue Sep 8 13:48:24 EDT 2009


Andrew C. Smith wrote:
> Getting OT...
>
>>  but maybe it's useful for the include file trick.
>
> Wait, is there an include file trick? I thought we just had
> Machine.add(), which requires paths relative to ChucK's run spot.
> Also, wouldn't "#include ..." not work in the same way as C, since
> there can only be one public class per file? I guess it would sort of
> work, but you could only have local classes for the current and
> sporked shreds.

Not that I know of.  That, along with the related lack-of-namespace
issue, is my biggest gripe about ChucK.

   michael


More information about the chuck-users mailing list