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 / 17534
17533  |  17535
Subject: 
Re: Sub-Parting
Newsgroups: 
lugnet.cad
Date: 
Sun, 2 Jan 2011 22:42:43 GMT
Viewed: 
17230 times
  
In lugnet.cad, Tore Eriksson wrote:

But my question is, how small can this code snippet be before it's better to not
sub-part?

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 complexity.
- dividing work over multiple people.
- Forwards compatibility.  (e.g. a version in different (sub) colors is expected
in the future.)

just my 2cents,

Roland



Message is in Reply To:
  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)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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