title: Is it a good idea to store code in database?
body: <p>I'm writing a game for social network and we have a lot of formulas for weapons stats, items stats etc that depend on player's characteristics. Formulas look like
  <code>player.money += 10 * player.level</code></p>
  
  <p>It looks like a good idea to just store functions like these in db and let game-designer enter them through admin site.</p>
  
  <p>But i'm not sure about this. What problems can occur with this approach?</p>
  
  <p>Thank you.</p>