Questions tagged [file-structure]
77 questions
38
votes
8 answers
Is there a conventional way to combine file path strings?
In an example:
var assets = "images/"
var sounds = assets+"sounds/"
Is it more conventional to put the slash on the back of a file path?
var assets = "/images"
var sounds = assets+"/sounds"
Is there another method that is a good common practice?

iiridescent
- 499
- 1
- 4
- 7
21
votes
5 answers
Is it a bad practice to give two very different files with the same general purpose the same name?
Is it a bad practice to give two very different files with the same general purpose the same name, separating them into different directories?