Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I've used several IDEs and created several default projects. Upon creation, I'll find folder structures created for me. Sometimes I'll see a Resources folder, sometimes an Assets folder, and sometimes both. Is there actually a (standard) difference?

share|improve this question
add comment

2 Answers

Most of the time I would consider them synonyms. They both serve as valid places to store non-source code items.

When both appear in the same project, the only difference I can come up with

  • Resource - Configuration files, something that has code or markup in it
  • Asset - Images, video, other things that aren't code, markup, or configuration. Think very static

I will say though that the difference is minor and outside of a few circumstances they should be considered synonyms.

share|improve this answer
add comment

It's a just a difference in terminology. In this context assets are the non-source code resources you use in your solution.

We follow a /res/ name convention, which typically stores javascript, css, images, and more. Javascript and CSS are source code resources, so assets is more concerned with media (images, video, documents) etc. a subset of resources, if you will.

share|improve this answer
    
What about in the context of a video game? You might attach an image to a "GameComponent" as a Sprite. Now, it's being used in your solution, but it's still static content. What should it be called? –  Olson.dev Aug 11 '11 at 23:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.