title: What is preferable: an Enum or a singleton
body: <p>I have the folowing question:</p>
  
  <p>What is the prefered way to use the status in code, an enum OR singleton?</p>
  
  <p>I have in a DB stored the status values with their ID's. If the status changes in de DB is would also need some changes in the code. </p>
  
  <p>does anyone now what is more prefered, based on conventions?</p>
  
  <p>I've been looking on the internet but couldn't find a clear answer.</p>