0 Members and 1 Guest are viewing this topic.
I generally use multiple files for anything other than Pure TI-Basic.
Quote from: SirCmpwn on March 18, 2011, 02:46:20 pmI generally use multiple files for anything other than Pure TI-Basic.Same. I always keep everything for a BASIC project (data and all) in a single program.For most computer projects, I also keep it in a single file unless they should be separated for practical reasons (such as to create a public class in Java). Same with my ASM projects, mainly because they're mostly really small.But for Axe, it's completely different. I split the source up into insanely small portions -- Contra is currently at 21 subprograms, each of which is around 100-150 bytes. (I think XDE was at 15 or so.) It compiles a bit slower, but it's much, much easier to find and rewrite portions of the project, especially considering the way I compress my source
I'm going to agree with Sir's general opinion here. TI-Basic, for small programs, is not, IMO, a good idea because you can only edit one program at a time, so when you switch sub-programs you have to scroll. It also fills the programs menu and the arch/del one too. Of course, that's not practical for larger programs, and in that case you might be working on a sub-program for long enough to make switching not a concern. The same general idea goes for most calculator things, I think.As for computer languages, you can edit multiple files at once and using multiple files is generally painless. It provides for more organization and is simple enough to do, so why not? As for the many files problem, source (for non-interpreted languages) can be packed in an archive (like .zip) or put in a separate folder, and, in the case of Java, .jar files put everything into one file.There's my two cents (This isn't meant to attack any others' posts, just to be certain )
Ah, yes, I forgot about that. Then nothing wrong there
Quote from: calcdude84se on March 19, 2011, 05:54:44 pmAh, yes, I forgot about that. Then nothing wrong there But it's also boring to put *all* files on Wabbit.