Questions tagged [preferences]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
3 answers
1k views

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 ...
user avatar
  • 233
4 votes
4 answers
502 views

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, ...
user avatar
  • 2,406
4 votes
3 answers
7k views

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 ...
user avatar
  • 419
9 votes
1 answer
5k views

Options vs Preferences vs Settings? What do they mean, and for what should I use them? [closed]

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) ...
user avatar
  • 3,319
-1 votes
2 answers
165 views

Mac OS X preferences saving, when to apply/save changes made by user [closed]

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 ...
user avatar
  • 109
0 votes
1 answer
569 views

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 ...
user avatar
  • 103
1 vote
4 answers
5k views

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 ...
user avatar