This is the mail archive of the
mailing list for the GCC project.
Re: Switching to C++ by default in 4.8
On 4/13/2012 9:15 PM, Chiheng Xu wrote:
So, I can say, most of the GCC source code is in large files.
And this also hold for language front-ends.
I see nothing inherently desirable about having all small files.
For example, in GNAT, yes, some files are large, sem_ch3 (semantic
analysis for chapter 3 stuff which includes all of type handling)
is large (over 20,000 lines 750KB, but nothing would be gained
(and something would be lost) by trying to split this file up.
As long as all your tools can handle large files nicely, and
as long as the internal organization of the large file is
clean and clear, I see no problem.