title: Is using the directory separator constant necessary?
body: <p>I am using PHP, but I <em>guess</em> this question might be language agnostic. </p>
  
  <p>With PHP, a constant is defined by PHP, called <code>DIRECTORY_SEPARATOR</code>. I have seen this in Joomla</p>
  
  <pre><code>define('DS', DIRECTORY_SEPARATOR);
  </code></pre>
  
  <p>I thought this looked like a good idea so I incorporated it into some of my sites. Now I'm asking myself why. I have only experience on Windows and OS X and from what I know Microsoft, Linux and Apple all use the forward slash as the directory separator. </p>
  
  <p>Is using this constant unnecessary?</p>