Forum

> > CS2D > Scripts > Cigarette script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Cigarette script

22 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: Cigarette script

DannyDeth
User Off Offline

Zitieren
user Avo hat geschrieben
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.

alt Re: Cigarette script

Avo
User Off Offline

Zitieren
Zitat
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.
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht