Take the 2-minute tour ×  I'm finding lots of 2-3k line files,
and it doesn't really feel like they should be that big.  What
is a good criteria to objectively call a source code file "too
big"?, is there such thing as a maximum amount of lines a source
code file should have?  share|improve this question Your peer
tells you after reviewing the code. "You cannot determine this
yourself because you know more as the author than the code says
by itself. A computer cannot tell you, for the same reasons that
it cannot tell if a painting is art or not. Hence, you need
another human - capable of maintaining the software - to look at
what you have written and give his or her opinion..." –  gnat
Nov 24 '12 at 14:22 Some compilers used to have weird limits on
source code size: max line length or max number of lines. When
compiler complains, this is an objective indicator that code is
too big (or that it is time to upgrade). –  mouviciel Nov 25 '12
at 11:17 Split as much as possible, but without breaking the
integrity of