Big source files


Subject: Big source files
From: Jesper Skov (jskov@zoftcorp.adsl.dk)
Date: Thu Nov 01 2001 - 02:19:13 CST


Dudes,

I've decided to move the squiggle handling code out of fl_BlockLayout
into a new class fl_Squiggles. It'll work out, I think, because it's
fairly cleanly separated functionality.

However, I only got to that decision after pondering two other
alternatives mainly intended to cut down on the size of the source
files (6k lines is a bad joke!):

 o Split some functionality out into separate files, but still part of
   the class. Use #include statements to pull in.
   But this untraditional, I think, so may confuse readers.

 o Add fl_Squiggles to the inheritance list of fl_BlockLayout.
   This would violate (I think - but I'm not much of a C++ programmer)
   the premises of MI - it would serve the exact same purpose of the
   #includes, only using language contructs.

So, I'm wondering, is there a sensible and acceptable way of reducing
file sizes that I haven't thought of? Just curious.

Jesper



This archive was generated by hypermail 2b25 : Thu Nov 01 2001 - 02:19:16 CST