I just tried doing a little googling but couldn't come up with the
answer that I'm looking for. Just wondering if anybody had knowledge of
any industry "rule of thumb" estimates on the cost of a writing a line
of code. I recognize that this could easily vary by what language we're
talking about. Specifically, I would be interested in Smalltalk and
JAVA.
On a slightly seperate question, how many lines of JAVA code (on the
average of course) would be equivalent to a line a smalltalk code? I
have been throwing around the number 6 in conversations lately but I
came to realize that I might've just pulled that number out of the air.
Anybody got a handle on a real number?
Many thanks,
Joel Zecher
You are preaching to the choir. I agree with all that you have said.
I'm still looking for numbers to use because that is what management
understands best. The non numerical pros and cons of one language over
another are more difficult to convey than quantum theory.
Thank you,
Joel
http://www.google.ca/search?
q=software+productivity+research+language+list&sourceid=mozilla-
search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-
a&rls=org.mozilla:en-US:official
"jtzecher" <joel....@ge.com> wrote in news:1168293887.398531.239040
@q40g2000cwq.googlegroups.com:
When creating web applications in Seaside? Somewhere between 100 and 1000...
Stephan
> When creating web applications in Seaside? Somewhere between 100 and 1000...
While I disagree with these numbers (what's in a line of Java code,
anyway?), in case of web applications the complexity is not coming from
the java code alone but from the large zoo of techniques you need to
handle for a few simple web pages. Seaside can make things very simple
in that respect...
You need to do research in your area about:
1) What's the average hourly rate for Smalltalk and Java programmers;
2) the availability of them for hire;
3) the average productivity in _your problem domain_.
Then you'll have hard data to show to your management.
An example of a technology with a very low FP count is Lotus Notes
programming, the use of which IBM endorses.
Once again, ST is that red-haired, freckled face kid who gets slapped in the
face since actions do not line up with facts but the actions do line up with
politics.
-g
any hard data/urls for the IBM stuff?
--
The surest sign that intelligent life exists elsewhere in Calvin &
the universe is that none of it has tried to contact us. Hobbes.
--
Eliot ,,,^..^,,, Smalltalk - scene not herd
No, that info has been buried and IBM sold their smalltalk. Makes sense
though since one can not have a product like smalltalk outshine java. There
still might be LN/Java info, etc.
--g
1. The data is passed around in spreadsheet form via e-mail as part of a
project review.
2. ST has gotten as high as 60 FP's per 100 man hours, Lotus Notes 30, Java
15 to 20, and PL/1 5.
3. The info has never been posted on the IBM intranet but I am sure it
would be an easy thing for the FP counters to make up a chart and post it if
they wanted to.
-g
Sometimes the 10x or 100x reduction takes real innovation and insight and
radical approaches, and that certainly doesn't come for free.
So at times it may actually be extremely expensive to build a very small
amount of code. However, that very small amount of code could be extremely
powerful and hence could used to run substantially large applications and
functionality. For example, as applications become more meta-data and
data-driven, the amount of code for substantial applications could be nearly
non-existant, with perhaps 95% of application development time building
models, UI, and data that dictates behavior, and 5% developing programming
code specific to that application.
So with such variance, I'm not sure how useful a metric such as this would
be. Perhaps with other programming languages, reuse is not emphasised as
much and so LOC is a more meaningful benchmark. ;)
How many LOC it takes to do the same thing in Smalltalk vs. Java is a far
more meaningful benchmark, but it still can vary from application domain and
also programmer skill, and in my experience could be anywhere from 2x more
LOC in Java than Smalltalk, up to 8x or more. The biggest difference is in
the volume of static type information, casts, declarations, and other
type-related superfluity.
Cheers, Ian
"jtzecher" <joel....@ge.com> wrote:
"Ian Upright" <ian-...@upright.net> wrote in message
news:d9q5s214evnor1k3k...@4ax.com...
> Refactoring in Smalltalk... a good day is a negative code count ;-)
As in: "Bugger! I just deleted the repository!" ?
;-)
-- chris
Ian
"Chris Uppal" <chris...@metagnostic.REMOVE-THIS.org> wrote:
making up a chart is falsifying evidence. If someone were to use an
anonimiser to post the spread sheet it still wouldn't be evidence
(missing proof of the sheet's validity) but it would be better than an
anecdotal report.
If people starts to measure that way. . .
-g