|
From: | Rik |
Subject: | Re: Preferences or Settings? |
Date: | Thu, 24 May 2018 09:51:19 -0700 |
On 05/24/2018 09:00 AM,
address@hidden wrote:
My informal survey was ambiguous. Two KDE applications, dolphin (file browser) and okular (PDF viewer), both use "Settings". GIMP uses "Preferences", as does Firefox. Maybe there is a split between KDE/GTK applications? My Android phone uses "Settings", and Libreoffice uses "Options". I really don't care, but I'll mark one vote for "preferences".
I think we need to change the names to match the window. One shouldn't name variables "var1", "var2", "var3", ... because it forces the programmer to have a table, either on paper or in their head, about the type of "var2" is and what it does. I just referenced the Principle of Least Surprise (https://en.wikipedia.org/wiki/Principle_of_least_astonishment) in another post. In this case, it would be surprising to the programmer that a "Preferences" window is coded internally using variables that begin with Settings. Also, by using a regular _expression_ it isn't that hard to clean this up. --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |