|Tip 49||Build Applications with Component Architecture|
Do you arrange code by file type? What about when CSS is tied to a single HTML file? Do you keep them in different directories but with similar file names?
For a long time, developers would keep files separated by type. The root directory would contain a css directory, a js directory, an img directory, and so on.
Organizing files like this showed good intentions. Everyone wanted to keep different areas of concern ...