When is it large ?
-
The Grand Negus wrote:
Windows Vista reportedly has over 50 million lines of code in it, and now we're approaching the ridiculous.
from your own link: "SLOC is particularly ineffective at comparing programs written in different languages unless adjustment factors are applied to normalize languages. Various computer languages balance brevity and clarity in different ways; as an extreme example, most assembly languages would require hundreds of lines of code to perform the same task as a few characters in APL." and: "Another increasingly common problem in comparing SLOC metrics is the difference between auto-generated and hand-written code. Modern software tools often have the capability to auto-generate enormous amounts of code with a few clicks of a mouse. For instance, GUI builders automatically generate all the source code for a GUI object simply by dragging an icon onto a workspace. The work involved in creating this code cannot reasonably be compared to the work necessary to write a device driver, for instance. By the same token, a hand-coded custom GUI class could easily be more demanding than a simple device driver; hence the shortcoming of this metric." in the end it is functional metric that matters most. If the code that is operated 90% of the time is bloated, the system will be sluggish regardless of total lines of code or languages. If you spend 90% of your time optimizing GUI code that is operated 1% of the time rather than using a GUI builder, you are wasting hard-earned company money and wasting your time.
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Yeah but he wanted to know how many "calls" there are... not how much work was involved. LOC is a horrible measure of the amount of work involved, and not a good measure of "complexity" either. You have to carefully define what you mean by "call"... if it's "anytime something pushes onto the stack" then it's going to be a high number, but if it's "anytime the program calls system code" it's going to be a lower number, but probably a much more interesting graph. I always liked this blog entry here... showing the graph of an IIS request vs. Apache - pretty interesting. It shows differences in coding style between the open source world and the corporate world, but it does not really mean what the blogger says it means. http://blogs.zdnet.com/threatchaos/index.php?p=311 I tend to look at that and think the exact opposite of what the blogger says... I bet MS is simply re-using more code (since a lot of lines end at the same places), and Apache has a bunch of redundant code that could be extracted into functions, but I haven't seen the source code from either one. More function calls doesn't necessarily mean anything at all.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles. -
code-frog wrote:
For the record my favorite menu item at McDonald's is ice water. The rest of their food is .
My favorite is the double cheese burger. One dollar can go a long way. ;P I also eat a lot of food from The Waffle House. Texas bacon patty melts are pretty good. One quarter pound patty, two slices of cheese, 3 strips of thick meaty bacon, diced onions, and Texas toast sliced 1 inch thick per slice, the bread is buttered edge to edge and then it is put on the grill, the butter melts and the bread turns into buttery toast with a crispy skin. One of those with hashbrowns smothered, covered, and chunked (aka onions, melted cheese on top, and diced ham). Mmmm. The omlets are good too, sausage cheese omlets with a few slices of jalopinio in it are my favorite. Sometimes I will get a T-Bone steak cooked medium rare from there too. Since I work there as a grill operator I can eat as much as I want for free (almost free, they take about 2 dollars a day regardless if I eat or not) so I make sure to get more than my monies worth of food from there. I make the best food. ;P
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██
<soapbox> I used to eat bacon, chicken and such meats until I read (from many sources) about how most of those animals are fed and treated when being raised and when they're slaughtered. Absolutely disgusting. Throw in the large-scale mass-farming requirements to feed our ever-growing population and how large companies have gobbled up all the small players and now its all about the money and how fast and fat you can grow food to make profit. Unfortunately, unless your rich and can afford organic or top-shelf meats, or raise and slaughter your own, you're eating crap X| Personally I think its better to eat things lower down the food chain. </soapbox>