Forum

> > CS2D > Scripts > Cigarette script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Cigarette script

22 replies
Page
To the start Previous 1 2 Next To the start

old Re: Cigarette script

DannyDeth
User Off Offline

Quote
user Avo has written
One does not simply want to fix 30 files.

It's actually a good idea to split your code into modules using many files if your code gets big. In my latest software project I have a function/method per file, organised into directories for each class/namespace ( though I only do this because I use Git for source revision control, and my build script compiles only files which have changed since last build, so it reduces compile time quite a bit ) and have no issues managing that many files.

old Re: Cigarette script

Avo
User Off Offline

Quote
Quote
Unless you're a pro scripter
@user DannyDeth: To be honest, do you really think he's going to do such things? I doubt. Newbies do not split their code into modules (in most causes). But you're right of course, it is a perfect idea.

What I meant was that no one would want to go through 30 files to search for bugs. Remember that it is us.de, not love2d.org, people here aren't so helpful, they don't spread love.
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview