title: General file structure and difference between /bin and /dist directory
body: <p>This question is not related to a specific programming language but this is confusing me all the time when it comes to the question how to structure my project directories in a “professional way”.</p>
  
  <p>AFAIK the <code>bin</code> directory contains compiled and compressed executable binary files while the <code>src</code> directory contains the raw source code and the <code>build</code> directory contains uncompressed executables (e.g. for local execution).</p>
  
  <p>According to <a href="https://stackoverflow.com/a/7450051/890144">this Answer</a> the <code>dist</code> directory contains the compressed/archived output stuff. But what’s the difference between <code>bin</code> and <code>dist</code> then? And what does a <code>deploy</code> folder contain aside from all these folders?</p>
  
  <p>And finally: Where to put the assets (images, JSON, whatever) in? <code>assets</code> or <code>vendor</code>?</p>