9 votes

Storing settings in a table in my SQLite database or separately?

I don't agree that storing settings in a database table is a bad separation of concerns. Your "concerns" will be separated by not defining a relationship between the settings table and other tables in ...
Bill the Lizard's user avatar
6 votes
Accepted

How do you get everyone on the same page in terms of coding preferences on a smallish team?

Matt's answer gives good advice (as well as Robert Harvey's comments to the question), but both are IMHO incomplete in regards to the question on how to get up to 50 people on board. The ...
Doc Brown's user avatar
  • 207k
6 votes

How do you get everyone on the same page in terms of coding preferences on a smallish team?

Use one or more published coding standards documents as a starting point for discussion. Many large organizations have made their standards documents freely available on the web for just about every ...
Matt's user avatar
  • 2,232
5 votes

What are the pros and cons of using a reference/pointer vs an ID

IDs or handles are generally preferable in the following cases: memory locations might not be fix, e.g. when pointing into C++ standard library containers or when transferring objects between ...
amon's user avatar
  • 134k
5 votes
Accepted

Storing settings in a table in my SQLite database or separately?

The largish legacy application I maintain has gone back and forth on this over the years, but has evolved towards keeping most settings in the DB. Yes, the DB connection string is read from the config ...
MickeyfAgain_BeforeExitOfSO's user avatar
2 votes
Accepted

What are the pros and cons of using a reference/pointer vs an ID

The pros and cons of pointer vs ids depend on the context in which they are used. A general recommendation it therefore not possible. Typically, ids make sense if they are associated with a "...
Christophe's user avatar
  • 77.1k
2 votes

How do you get everyone on the same page in terms of coding preferences on a smallish team?

Conflicts arise when people's abmitions clash. You can avoid this by using automated system which enforces conventions. Policy documents and coding guides are of little help because they are subject ...
god's user avatar
  • 232

Only top scored, non community-wiki answers of a minimum length are eligible