I think the point was simply that Miller deserves credit for his essential contributions to pd. I don't think this is the place to discuss your problems with SLOC and COCOMO.<br><br><br>Ben Baker-Smith<br>--<br><a href="http://bitsynthesis.com">http://bitsynthesis.com</a><br>
<br>
<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">> I have no idea. I just meant that if anyone deserves to be cooked
meals<br>
> because of Pd related things, then it's Miller. That is a lot of
lines<br>
> of source code (only 25,000 of them are portaudio/portmidi).<br>
<br>
First of all, if you consider portaudio and portmidi like the separate<br>
projects that they are and that Miller didn't write and that is not
really<br>
part of Pd in any way, the total SLOC drops to 68000.<br>
<br>
Next, Miller is not completely alone in writing Pd. You probably know
that<br>
already. It's not even a very small or neglectible amount. In SLOC
count,<br>
Thomas Musil contributed 10% of the source code alone, as the original<br>
author of the IEMGUI library.<br>
<br>
Then you probably know what is copy-paste. IIRC, about 1300 lines of
code<br>
of IEMGUI can be explained by a one-liner sed | diff | wc command. Then<br>
there is other copy-paste in places like d_math.c and x_arithmetic.c for<br>
which I made the demonstration that they can be shrunk to less than 20%
of<br>
their size using macros *while* keeping all optimisations in. (not sure I<br>
posted on the lists about it, though).<br>
<br>
Then the "basic COCOMO model" does not take copy-paste into account,<br>
therefore it's na?ve at best, a fraud at worst. It's also highly
dependent<br>
on many other things it shouldn't be dependent on, thus it's most<br>
certainly unlikely to be accurate at all.<br>
<br>
Braces change the SLOC. The 72-character maximum that comes from IBM<br>
punchcards) changes the SLOC. Statement size changes the SLOC (say<br>
something short as two statements, you have two lines, but say it as
one,<br>
you have one line). Think about it, you even charge for the blank lines<br>
and all the lines that say /********/ , no matter how many a given<br>
programmer decides to put.<br>
<br>
All the Basic COCOMO model ever does correctly is punish any people who<br>
try to save on the number of lines of code.<br>
</blockquote>