[chuck-dev] mini ChucK bug

Tom Lieber lieber at princeton.edu
Sat May 2 17:50:31 EDT 2009

On Sat, May 2, 2009 at 5:40 PM, Kassen <signal.automatique at gmail.com> wrote:
> while( float rubber_ducky )
>        {
>        <<<"quack">>>;
>        second => now;
>        }
> I now get why that works, previously I was just amused by it. I posted
> about that ages ago but never realised it actually demonstrated a bug.
> I ended up believing (when I was a young ChucKist) that instantiating
> a float named "rubber_ducky" returned true when this instantiation was
> successful but always had my doubts. That's one bug I'll be sad to see
> go.

Now I'm upset because my duck quacks for a long time, then crashes the
VM. Why is my duck so much less well-behaved? And here I was perfectly
happy before I knew I had any ducks at all.

Tom Lieber

More information about the chuck-dev mailing list