To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 17533
  Sub-Parting
 
Making sub-parts is a very good method to keep file sizes down when large portions of code can be used twice or more times in the same part or in several parts. But my question is, how small can this code snippet be before it's better to not (...) (14 years ago, 2-Jan-11, to lugnet.cad)
 
  Re: Sub-Parting
 
(...) I'm not a part author, but the issue resembles 'when to use functions' in programming. Reasons for subfiles i can think of based on programming experience are: - Re-usage of code (e.g. in a different color or different part) - Breaking down (...) (14 years ago, 2-Jan-11, to lugnet.cad)
 
  Re: Sub-Parting
 
(...) I think in most cases it is to break down complexity at first point. At second thinking about reusage by other parts (maybe already official). Or in case of your first example (I am the author) just because it is a physical part from a special (...) (14 years ago, 3-Jan-11, to lugnet.cad)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR