[Oberon] NW programming style

Richard Hable informujo at aon.at
Wed Sep 7 20:09:50 CEST 2016


Am 2016-09-06 um 23:18 schrieb John R. Strohm:

> So you should lock the users into only the configurations That YOU
> feel are acceptable???

What gives you that idea? Applications may support different
configurations of mouse button assignments as they wish.

But for the operating system these are just buttons without specific
meaning, only to be distinguished by their physical positions on the
mouse. No need to assign potentially misleading names to them.

> As opposed to letting the user set it up the way HE wants it???  And
> making it easier for him to do so?

How does referring to mouse buttons by names instead of positions within
source code allow users to set up their own configurations?

> Seriously, the prohibition against hard-coded magic numbers has been
> established practice for DECADES, and the reasons are WELL-known.

There's nothing magic about the position of a mouse key. But there seems
to be something wrong with your shift key. ;)

Richard



More information about the Oberon mailing list