| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | do the ammound of files effect your programming? i was thinking today when your building a website or web based application do you try and keep the ammount of files you have as low as possible or just dont care about it? im building a program at the moment and for each section of the program there are like 5 (edit, delete, add, update and show) files for each section, but the time ive finished its gonna be huuuuuugeee so what do you do? |
| |
| | #2 (permalink) |
| NamePros Member | im thinkin that its not so much the amount of files but the size they take up? im no programmer but im thinking if u shove it all into one file it would be around the same size anyway? so it wud be best to simply space them out and make it easier for yourself? nick - (and hey adam ) |
| |
| | #3 (permalink) |
| Senior Member | hey mate ![]() yeh size is a matter in scripts but the scripts arnt going to be that big i was have this impression that the more files you have to more chance there is of something screwing up and also surely it must make things a tad harder to find errors i dunno maybe im just dreaming |
| |
| | #4 (permalink) |
| NamePros Member | I would have to disagree adam_uk. I think that if you split your code up into different files , functions or classes that it makes it easier to find bugs. It also means that you can reuse your code, saving you time. In terms of size I dont think that it is effected no matter how many files your code is split up into, it will still be the same size.
__________________ Paulicon Web design - Your one stop shop |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |