On Sat, Jul 10, 2010 at 7:39 PM, Richard Jones <[email protected]> wrote: > I tend to favour the decorator syntax, but I can see your point.
<offtopic> I am coming around to the opinion that the decorators are the single worst part of pyglet's syntax. The cases where you can't use the decorators (in classes, multiple handlers for the same event) crop up surprisingly often, and seemingly minor changes to your program can cause strange errors in event handling when you transition from a case where decorators work to a case where they don't. </offtopic> Rant aside, your quick-ref looks like a very good resource for teaching pyglet. Would you be willing to make a copy available on the pyglet website when you are done with it? -- Tristam MacDonald http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
