Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 5 - Parts 1 and 2
Date: Sun Nov 11 2001 10:41 am
Author: Abeles, Peter J. <pja@andrew.cmu.edu>
Subject: Re: 10 lines?? I only needed 3 - That must be some ugly code

I agree. Which is one reason why I started talking about decision points. Because having a whole bunch of stuff inside one big massive line or broken up over several function wont reduce that down. That method also has some sever flaws. The main reason I kept on draging this on is that what I came up with as a theoretical minium was undercut by a lot. I also now think I know what was done to make it "3 lines" with in the function and I would hardly brag about how it was done. Not that it wasnt done in a way that I would consider good readable code. Just not all the lines were counted that I would have.

- Peter
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
10 lines?? I only needed 3      Brands, Marc C.      Fri Nov 2 2001 8:10 pm       
Re: 10 lines?? I only needed 3      Lee, Peter      Fri Nov 2 2001 8:14 pm       
Re: 10 lines?? I only needed 3      Shi, Ying      Sun Nov 4 2001 7:19 pm       
Re: 10 lines?? I only needed 3      Lee, Peter      Sun Nov 4 2001 8:53 pm       
Re: 10 lines?? I only needed 3      Liu, Limin Angela      Sat Nov 3 2001 7:16 pm       
Re: 10 lines?? I only needed 3      Katzhyman, Michael Zadok      Mon Nov 5 2001 1:03 am       
Re: 10 lines?? I only needed 3      Lee, Peter      Mon Nov 5 2001 9:03 am       
Re: 10 lines?? I only needed 3 - Th...      Abeles, Peter J.      Wed Nov 7 2001 8:59 pm       
Re: 10 lines?? I only needed 3 -...      Lee, Charles C.      Sat Nov 10 2001 12:05 am       
Re: 10 lines?? I only needed ...      Abeles, Peter J.      Sat Nov 10 2001 11:26 am       
Re: 10 lines?? I only need...      Goodman, Brian J.      Sat Nov 10 2001 4:57 pm       
Re: 10 lines?? I only n...      Abeles, Peter J.      Sat Nov 10 2001 9:22 pm       
Re: 10 lines?? I onl...      Lee, Peter      Sun Nov 11 2001 10:09 am       
Re: 10 lines?? I ...      Abeles, Peter J.      Sun Nov 11 2001 10:41 am       
Re: 10 lines?? I only needed 3 -...      Ghosh, Debmallo S.      Thu Nov 15 2001 2:48 pm       
Re: 10 lines?? I only needed 3 -...      Abeles, Peter J.      Mon Nov 19 2001 12:08 am       

Back to previous screen