mindstorm8191
New Member
- Messages
- 24
- Reaction score
- 1
- Points
- 3
Personally, I'm not a very skilled web designer, but I have been coding or quite a while now, in various languages other than for web design. My current project is a browser-based game, which as I continue developing it, there becomes increasingly more tasks that must be performed, and these new tasks seem to be dropped into the same files I have already been using. Right now I have a script that is over 600 lines long, and compared to what I'm use to, this is crazy.
I would like to open a discussion about how people lay out their written code. Do you like to use as few files as possible? Or do you like to divide everything into short, simple scripts that each do simple tasks? I am curious to know if anyone feels that such a large file is a bad thing or not.
I would like to open a discussion about how people lay out their written code. Do you like to use as few files as possible? Or do you like to divide everything into short, simple scripts that each do simple tasks? I am curious to know if anyone feels that such a large file is a bad thing or not.