On 06 Jan 2010, at 12:14, Florian Klaempfl wrote:

Different languages, different habits. I even consider putting every
class in its own header and implementation file as a bad habit. There is no reason to do anymore because modern C/C++ compiler can smartlink on a
sub-object level which they could not for years.

Another reason is probably to speed up the compilation:
* (re)compiling huge source files can be slow and/or require lots of memory, depending on the used compiler (and debug information or optimization settings)
* every separate C/C++ file can be compiled in parallel with all others


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to