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

Michael Giagnocavo mgg-digium at atrevido.net
Mon May 9 09:17:49 MST 2005


>Have we all forgotten all these asterisk developers are doing all this 
>coding for free?  If i want to make my code messy, then I will do so.  

Oh yea. I forgot that people were donating their time. Sorry everyone, I
guess we should just shutup and not try to suggest things 'cause someone
might decide it's not worth their effort to produce high quality code. 

-Michael

-----Original Message-----
From: Michael Giagnocavo <mgg-digium at atrevido.net>
To: asterisk-dev at lists.digium.com
Sent: Mon, 9 May 2005 09:51:56 -0600
Subject: RE: [Asterisk-Dev] [Rant] [long] - code style and quality

>>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.
>>
>>
>Real code gets messy. It only ends up not being messy if you fight 
hard
>against the natural trend. You cut away the paragraph where I 
considered
>the trade offs, leaving a very different impression than my full 
message.

So, can we trim that down to "real code requires work"?

I don't why you think you're making a point about having to "fight 
hard".
Yea, being a good developer is hard. In programming, good devs from bad 
devs
are separated by an order of magnitude at least. I don't think this is 
news
to anyone. So if everyone knows that "real code is messy unless we do
something about it", why do you jump on someone who encourages doing
something?

>>I count the asterisk project as real code - which is messy.
>>
>Do you have the slightest idea how it came to be? In 1999 there were a
>number of free telephony projects getting off the ground. Most were 
pure
<snip>
>Asterisk software. Most of the other PSTN oriented projects grew out 
of
>religious cults. The "pure Java is the way, the truth and the light"
>cult. The "design is everything" cult. The "polish is paramount" cult.
>There was a project to do soft modems for FAX that for a couple of 
years
>was supposed to be "developing ways to interconnect DSP modules", but
>projects survived - for example, there is an ISDN PABX still around.
>Only Asterisk thrived.
>
>So, all the nice tidy projects proved worthless, and the one you
>criticise is usefully serving the needs of thousands of people. 
Everyone
>knows its messy. Anyone who points out that obvious fact in a two page
>tome is being a PITA. However, where do your priorities lie? Style or
>content?

And the point was? Luigi was completely right to point out problems in
coding style. I didn't hear him say "Asterisk sucks" or "its not 
useful".
Pointing out that having, say, a 700-line switch statement is a bad 
idea is
constructive criticism. Perhaps some people should learn the different
between negative and positive. The OP was quite in the latter.

-Michael


_______________________________________________
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

_______________________________________________
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





More information about the asterisk-dev mailing list