[Oberon] PO2013 - System.CloseTrack / System.ExtendDisplay
private at claudio.ch
Sat May 4 10:51:45 CEST 2019
> It is tempting to have a configuration file, even though I can appreciate Joerg's remark that such a file can be in fact a module. A config file can lead to a Unix disease that one never knows what the computer is doing without digging into and deciphering .rc files which seem to be everywhere. It is a serious illness in my opinion, though "seasoned programmers" seem to appreciate it very much.
Well as a seasoned programmer I put together this little text a few years ago with regard to my opinion on configuration file: https://inodes.ch/doc/konfiguration.pdf
Unfortunately in German, but nowadays you can pass it to a translation engine of your choice if you do not understand the original language:-)
In short I argue, that there might be just two main reason that really force you to use configuration files.
Mandated: Either because someone that shall not have access to the source needs to make some changes or in unfortunate environments where making changes to a configuration file is made much easier than changes to source.
Operational: When a software is so huge, that restarting is a non-option as it takes too much time, yet some stuff needs to be tweakable over time.
Other than that I am on the same page as Jörg. Also because all too often I have seen "configuration files" growing over time into their own programming language. First it is maybe just
Then requirements change because you e.g. write a ShellViewer giving access to your Linux box and you realise that you need to pass Ctrl-C unchanged in this circumstance, so the configuration file becomes something like
And now you have already invented an awkward IF ... THEN ... ELSE ... END. This can go on over time until your new language is as complex as Oberon without having its beauty.
Claudio Nieder, Ruhestrasse 7, CH-8045 Zürich, Tel +4179 357 6743, www.claudio.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Oberon