[chuck-users] Public sporking?

Kassen signal.automatique at gmail.com
Sat Jun 7 06:19:18 EDT 2008


Dear list,

Sporking is fun and we can spork fun's (as long as they are of type "void")
but now ( http://electro-music.com/forum/viewtopic.php?t=26805 ) it turns
out that we can also spork a public. Considering that ChucKian legend has it
"spork" is a slightly dirty word "public sporking" must be downright
naughty, especially considering no class is needed. I'm sorry; that was too
good to pass up.
=========================
//the following will run, not limited in the slightest by trivialities like
-say- language specifications.

//note there is no class in sight
public void foo()
        {
        <<<"ping">>>;
        }

spork ~foo();

second => now;
=====================

Could somebody comment on this? Is this of any use at all? well, aside from
breaking the monotony of code by having synonyms?

Confused,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080607/7c5d4212/attachment.htm>


More information about the chuck-users mailing list