[Asterisk-Dev] [Rant] [long] - code style and quality

Derek Smithies derek at indranet.co.nz
Sun May 8 17:32:50 MST 2005


Steve,
 the quote was not out of context. I supplied the entire paragraph it came 
from, and the individual sentence that I replied with it.
You may disagree - that is your right.
 

Now, to the statement about the nature of real code.

real code may get messy as time goes on - that depends on the developer.

I count openh323 as real code - which is not messy.
  (sure, openh323 is hard to read if you don't know C++, threads and h323.)

I count the linux kernel as real code  - which is not messy.
  the linux kernel is complex - it does some weird things in places.
  there are flaws in the design, but the overall coding style is good.

I count the alsa project as real code - which is not messy.

I count the asterisk project as real code - which is messy.

Conclusion::
 real code code can get messy as time goes on 
          - and that depends on the developer(s).


Derek.

=====================================================

On Mon, 9 May 2005, Steve Underwood wrote:

> Derek Smithies wrote:
> 
> >On Sat, 7 May 2005, Steve Underwood wrote:
> >  
> >
> >>They know real code gets messy as time goes on. Cleaning it up is 
> >>not only time consuming, it risks breaking proven code in subtle ways. 
> >>    
> >>
> >Rubbish.
> >  This statement is an excuse for messy code.
> >  Many open source projects have guidelines on codestyle. Many have very 
> >  clean, tidy easy to read code. 
> >  
> >
> Did you quote me out of context specifically to change the meaning of 
> what I said, or do you have a reading problem?
> 
> Regards,
> Steve
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 
> 

-- 
Derek Smithies Ph.D.                         
IndraNet Technologies Ltd.                
Email: derek at indranet.co.nz         
ph +64 3 365 6485                          
Web: http://www.indranet-technologies.com/  





More information about the asterisk-dev mailing list