"Hard-coded"? So a configuration file would be better? Why not let the source code be the config file? On Thu, Sep 8, 2016 at 10:00 PM, <oberon-request@lists.inf.ethz.ch> wrote:
Send Oberon mailing list submissions to oberon@lists.inf.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.inf.ethz.ch/mailman/listinfo/oberon or, via email, send a message with subject or body 'help' to oberon-request@lists.inf.ethz.ch
You can reach the person managing the list at oberon-owner@lists.inf.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Oberon digest..."
Today's Topics:
1. Re: NW programming style (Richard Hable)
----------------------------------------------------------------------
Message: 1 Date: Wed, 7 Sep 2016 20:09:50 +0200 From: Richard Hable <informujo@aon.at> To: "John R. Strohm" <strohm@airmail.net>, ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] NW programming style Message-ID: <de4e74eb-37c8-ca94-53c7-361fe519aa9b@aon.at> Content-Type: text/plain; charset=utf-8
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
------------------------------
Subject: Digest Footer
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
------------------------------
End of Oberon Digest, Vol 148, Issue 4 **************************************
participants (1)
-
Søren Renner