On Sun, Jun 08, 2008 at 09:38:44PM -0700, Martin DeMello wrote:
> the buttons were mixed up. wonder if there's some more mnemonic thing
> to do than using the numbers - constants add visual clutter. perhaps
> define methods left, right and middle within the context of a click
> block, so we can say
> 
> case button
> when left; foo
> when right; bar
> when middle; baz
> end
> 
> rather than having to yell LEFT, RIGHT and MIDDLE

I might consider using :left, :right and :middle.  But considering
that left-handed mice don't follow that naming, I think 1, 2 and 3
as plain numbers are just fine.  1, 2 and 3 are among the easiest
of mnemonics to remember.

_why

Reply via email to