Re: [Tutor] General programming question

2006-07-18 Thread Danny Yoo
> For example, let's say we have a program that deals with drawing shapes > like circles. One way we could imagine doing this is to represent a > circle as an x/y coordinate, a radius, and a color. In this situation, > things that work on circles will take in at least those three arguments:

Re: [Tutor] General programming question

2006-07-18 Thread Danny Yoo
On Tue, 18 Jul 2006, Christopher Arndt wrote: >> I have a general question about programming. My program that I have >> been writing is fully modularized. My question is: Is there a >> programming technique that would alleviate the passing of a huge number >> of variables. One of the things

Re: [Tutor] General programming question

2006-07-18 Thread Christopher Arndt
Tino Dai schrieb: > I have a general question about programming. My program that I have > been writing is fully modularized. My question is: Is there a > programming technique that would alleviate the passing of a huge number > of variables. Yes, it's called "object-oriented programming" ;-)

Re: [Tutor] General programming question

2006-07-18 Thread Kent Johnson
Tino Dai wrote: > On 7/18/06, *Kent Johnson* <[EMAIL PROTECTED] > > wrote: > > Tino Dai wrote: > > Hi Everybody, > > > > I have a general question about programming. My program that I > > have been writing is fully modularized. My question is: Is

Re: [Tutor] General programming question

2006-07-18 Thread Kent Johnson
Tino Dai wrote: > Hi Everybody, > > I have a general question about programming. My program that I > have been writing is fully modularized. My question is: Is there a > programming technique that would alleviate the passing of a huge > number of variables. Let me further elucidate. I could

[Tutor] General programming question

2006-07-18 Thread Tino Dai
Hi Everybody, I have a general question about programming. My program that I have been writing is fully modularized. My question is: Is there a programming technique that would alleviate the passing of a huge number of variables. Let me further elucidate. I could see a day when I would be writi