Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you get a count of the lines of code
Message
From
24/08/1999 21:40:23
 
 
To
24/08/1999 20:06:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257293
Message ID:
00257383
Views:
18
>>A client has requested the number of lines of code in one of our systems [I don't know why -- the request was forwarded to me]. Is there an easy way to get this info -- is this number [or something similar] stored somewhere in the project?
>>
>>Thanks
>>Doug
>
>I suggest that you put together a lesson that explains how meaningless this number is. Th client is probably accustomed to procedural projects written in langages like COBOL where lines of code can get you a (very) rough estimate of the work put into and the functionality of a project. With an OO tool like VFP, lines of code mean absolutely nothing. You can give him an estimate through methods like Mark or Ed suggested, but the client should know the worth of the figure.




I agree with you, when I was in College on study programming, One Subject is talking about how to make a good software.

It concern many things, such as maintainibility, reusablility, functionality, etc.

LOC (line of Code) is to calculate an appro. rate on maintain cost!

Besides, LOC told us a truth, For a same function, if using lower level language, such as COBOL, pascal, C, it need quite a lot of code to do.
but for 3GL (VFP, VB, VC...) will quite less on LOC!

e.g. if you need to add a blank record and show on screen for input!

at pascal, you need to code many thing, add a new node on link list...
around 20-30 LOC to do whereas VFP is:

Append blank
thisform.refresh

2 lines finish!

Of cos, if you using Wiz. to create form, You don't do coding! LOC is zero but
the form do what you wants!!

In thm, it is hard to maintain if the LOC is huge!

but in real case, it is NOT truth!

Previously, I want to fix ONE LOC on DynamicBackColor.. (at another thread)
to show the value that I want..

It waste me 2 days but still fail!

Finally, I angry and change the view structure to skip these case on grid data,
the problem is fixed!!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform