[Oberon] Oberon Digest, Vol 148, Issue 4

Søren Renner soren.renner at gmail.com
Sun Sep 11 13:12:06 CEST 2016


"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 at lists.inf.ethz.ch> wrote:

> Send Oberon mailing list submissions to
>         oberon at 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 at lists.inf.ethz.ch
>
> You can reach the person managing the list at
>         oberon-owner at 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 at aon.at>
> To: "John R. Strohm" <strohm at airmail.net>, ETH Oberon and related
>         systems <oberon at lists.inf.ethz.ch>
> Subject: Re: [Oberon] NW programming style
> Message-ID: <de4e74eb-37c8-ca94-53c7-361fe519aa9b at 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 at 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
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160911/2504b84f/attachment.html>


More information about the Oberon mailing list