0 Members and 3 Guests are viewing this topic.
Mimas is currently 16040 lines, not counting auto-generated files. That's by far the largest assembly program I've ever written.Quote from: thepenguin77 on March 17, 2011, 10:35:24 pmHow do you people deal with source code when it starts getting over 4000 lines long? I feel like once it starts reaching this length, I start losing time by searching through the code for routines. At these sizes, the scroll bar is almost useless.etags. And occasionally grep.And yeah, I'd say 4000 lines is too long for a single source file, no matter what language or editor you're using.
How do you people deal with source code when it starts getting over 4000 lines long? I feel like once it starts reaching this length, I start losing time by searching through the code for routines. At these sizes, the scroll bar is almost useless.
And @SirCmpwn: Half of the tiDE code (or maybe even more) is code generated by the GUI designer, hence I'm not impressed with 26thousand lines.
Okay... I'll settle this Visual Studio stuff. I'm gonna count my lines. Once with everything. The other withonly the *.designer.* files.Everything: 1524Designer Files: 1178...So 1178/1524589/76277.3% of my visual studio project is Designer code. Though take into consideration that C# takes up more lines that Basic with all the braces and stuff. So. SirCmpwn. Do a *.Designer.cs search on your project and see what happens.
Update on the size of tiDE:Total lines of code: 46,778Total lines of code (non-generated): 40,226 [This means ~86% is manually written]Total size of source and binaries: 30.6 MBSize of source alone: 6.86 MB (total size of everything you should have to run tiDE without source)Number of files: 736Number of folders: 148There are 15 projects that contribute to the tiDE code base. They are:-Assembly (exposes methods for manipulating assembly files, including assembly and disassembly-Basic (exposes methods for manipulating TI-Basic files, including tokenization and detokenization)-Brazil (core z80 emulation library)-DCS7Design (a graphical designer for DCS7 GUI)-GenerateTable (one of several programs that assist the other libraries, this one generates a table file for Assembly)-GenerateTI83PlusIncDocumentation (another assist project, it generates documentation in XML for ti83plus.inc from WikiTI)-GenerateTIBasicDocumentation (assist project, generates documentation in XML for TI-Basic commands from TI|BD)-GenerateTIBasicHighlighting (assist project, generates the file that TI-Basic syntax highlighting is based on)-GenerateZ80CodeCompletion (assist project, generates the z80 documentation that is used for code completion)-Stetson (TI-83+ emulator)-TableFileEditor (assist project for manipulating files created by GenerateTable)-TI Developer API (library for manipulating TI files such as 8xp and 8xk files)-tiDE (the main interface that ties together all the other projects and provides an IDE)-Tokenizer (old project that provides some support to Basic)-WinFormsUI (controls the dock capability of tiDE)