title: How would you call this variable "direct3Ddevice" or "direct3dDevice"?
body: <p>I am following the naming convention rules:</p>
  
  <ul>
  <li>Mixed case starting with lower case (e.g. <code>theDevice</code>)</li>
  <li>Not using multiple capital letters for abbreviations/acronyms (e.g. <code>XmlDevice</code> instead of <code>XMLDevice</code>) to improve readability.</li>
  </ul>
  
  <p>The issue I am having is whether I should write my variable as <code>direct3dDevice</code> or <code>direct3Ddevice</code> or <code>direct3DDevice</code>.</p>
  
  <p>Argument for <code>direct3dDevice</code></p>
  
  <ul>
  <li>The '3' could be seen as a capital letter (since it is of similar size) or just as part of an abbreviation, therefore the 'd' after it should be a lowercase letter. Especially since 'Direct3D' is a name.</li>
  </ul>
  
  <p>Argument for <code>direct3Ddevice</code></p>
  
  <ul>
  <li>The '3' is a number and should not be treated as a capital letter, therefore the first letter afterwards, 'd' should be capitalized. The next 'd' from 'device' should be lowercase since no two capital letters should be after each other.</li>
  </ul>
  
  <p>Argument for <code>direct3DDevice</code></p>
  
  <ul>
  <li>The '3' is a number and should not be treated as a capital letter, therefore the first letter afterwards, 'd' should be capitalized. The next 'd' from 'device' should be a capital letter to follow the mixed case convention of starting a new word with a capital letter.</li>
  </ul>