title: Should a directory path variable end with a trailing slash?
body: <p>When defining a path to a directory as a variable or constant, should it end with a trailing slash? What is the convention?</p>
  
  <p><code>pwd</code> in Unix shows your current directory without a trailing slash, while the tab complete of <code>cd /var/www/apps/</code> includes the trailing slash, which left me unsure.</p>