Questions tagged [preferences]
7 questions
10
votes
1 answer
Options vs Preferences vs Settings? What do they mean, and for what should I use them?
Across the various different programs, you will most often have a menu item called:
Preferences
Firefox
Chrome
Gedit
Synaptic (Under a Settings menu column)
Hexchat (Under a Settings menu column)
Gnome-Terminal
Thunderbird
Rhythmbox
Less…

Anon
- 3,565
- 3
- 27
- 45
8
votes
3 answers
What are the pros and cons of using a reference/pointer vs an ID
I'm writing in C++, but this problem applies to any language without GC and even to languages with a GC as well.
I have a structure in memory in which I create/add objects. The structure takes ownership of those objects. I should never need to use…

Helloer
- 253
- 1
- 6
5
votes
3 answers
Storing settings in a table in my SQLite database or separately?
I'm building an application which uses SQLite, and now want to add settings that are stored between sessions
I'm considering if I'm going to store the settings in a config file or if I'm going to use a table in the database for this
(Please note…

sunyata
- 449
- 5
- 16
4
votes
4 answers
How do you get everyone on the same page in terms of coding preferences on a smallish team?
Say you have 10-50 engineers working on a codebase. Everyone has different preferences for these types of things:
Folder Structure
Naming Conventions (CSS Class names, function names, variable names, etc.)
Testing Conventions
Expression location…

Lance
- 2,537
- 15
- 34
1
vote
4 answers
Implementing Settings/Preferences in JavaScript
I am making a simple web app mostly in JavaScript. I was wondering as to how do I deploy settings/preferences? Do I just store user preferences somewhere and make use of if...else... statements all over the code?
I think that there must be a better…
user52009
0
votes
1 answer
Is java.util.prefs.Preferences appropriate for accessing changes in state that need to be immediately accessed during runtime?
In my application, I'm currently creating a single instance of a UserPrefs object at startup, then passing a reference to that object to multiple other objects through their constructors.
I am doing this because it's important that multiple classes…

Bri
- 103
- 2
-1
votes
2 answers
Mac OS X preferences saving, when to apply/save changes made by user
It is typical for Mac OS X apps to have preferences that apply seamlessly, and preferences dialogs don't have "OK" or "Apply" button. I want to implement this behavior in my project, but I can't decide when to apply/save changes made by user.
It's…

tonytony
- 109
- 3