<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 50k lines considered very large?</title>
	<atom:link href="http://codemonkeyism.com/50k-lines-considered-very-large/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemonkeyism.com/50k-lines-considered-very-large/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 15:08:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-182307</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Fri, 17 Oct 2008 19:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-182307</guid>
		<description>@Marcos: Thanks for the input.</description>
		<content:encoded><![CDATA[<p>@Marcos: Thanks for the input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos Silva Pereira</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-181885</link>
		<dc:creator>Marcos Silva Pereira</dc:creator>
		<pubDate>Fri, 17 Oct 2008 04:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-181885</guid>
		<description>And more idiomatic Ruby:

class Song  
	def initialize(name, artist, duration)  
		@name, @artist, @duration = name, artist, duration 
	end  

	def how_long 
		&quot;{@duration} minutes&quot; 
	end 
end

Kind Regards</description>
		<content:encoded><![CDATA[<p>And more idiomatic Ruby:</p>
<p>class Song<br />
	def initialize(name, artist, duration)<br />
		@name, @artist, @duration = name, artist, duration<br />
	end  </p>
<p>	def how_long<br />
		&#8220;{@duration} minutes&#8221;<br />
	end<br />
end</p>
<p>Kind Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricky Clarkson</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-181642</link>
		<dc:creator>Ricky Clarkson</dc:creator>
		<pubDate>Thu, 16 Oct 2008 22:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-181642</guid>
		<description>I think Ola would be more likely to split out his infrastructure code into a separate library than most would be, so each individual codebase might be small but there might be more of them.

If you split projects up according to cliques you&#039;ll probably find it difficult to pass 50kloc.</description>
		<content:encoded><![CDATA[<p>I think Ola would be more likely to split out his infrastructure code into a separate library than most would be, so each individual codebase might be small but there might be more of them.</p>
<p>If you split projects up according to cliques you&#8217;ll probably find it difficult to pass 50kloc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anjan bacchu</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-181147</link>
		<dc:creator>anjan bacchu</dc:creator>
		<pubDate>Thu, 16 Oct 2008 03:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-181147</guid>
		<description>@Stephan : python 10 years ago : Yes, given that there were far fewer libraries in both python and java, I assumed you wrote a good amount of infrastructure code. Today, if you were to rewrite the same project, I&#039;d think that it would take you atleast 20-30% number of lines of code ?

Thank you,</description>
		<content:encoded><![CDATA[<p>@Stephan : python 10 years ago : Yes, given that there were far fewer libraries in both python and java, I assumed you wrote a good amount of infrastructure code. Today, if you were to rewrite the same project, I&#8217;d think that it would take you atleast 20-30% number of lines of code ?</p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180685</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Wed, 15 Oct 2008 06:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180685</guid>
		<description>@Adrian: No, not sure, just something in my head since I&#039;ve worked a lot with code metrics. But hadn&#039;t have time to write a paper.

&lt;pre&gt;
if (A &amp;&amp; B) { ... }
&lt;/pre&gt;

would have 3 TP (use if (1), get A (1) and B (1) right)

&lt;pre&gt;
persons.filter ( _.age &gt; 10)
&lt;/pre&gt;

would perhaps have 2 TP (use filter and get expression right)

while 

&lt;pre&gt;
for (Person person: persons) {
    if (person.getAge() &gt; 10) {
       filtered.add( person );
    }
}
&lt;/pre&gt;

don&#039;t know, perhaps 1 for the loop, 2 for the if and expression, 1 for the adding, makes 4 TP.

A little bit like McCabe</description>
		<content:encoded><![CDATA[<p>@Adrian: No, not sure, just something in my head since I&#8217;ve worked a lot with code metrics. But hadn&#8217;t have time to write a paper.</p>
<pre>
if (A &#038;&#038; B) { ... }
</pre>
<p>would have 3 TP (use if (1), get A (1) and B (1) right)</p>
<pre>
persons.filter ( _.age > 10)
</pre>
<p>would perhaps have 2 TP (use filter and get expression right)</p>
<p>while </p>
<pre>
for (Person person: persons) {
    if (person.getAge() > 10) {
       filtered.add( person );
    }
}
</pre>
<p>don&#8217;t know, perhaps 1 for the loop, 2 for the if and expression, 1 for the adding, makes 4 TP.</p>
<p>A little bit like McCabe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Kuhn</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180674</link>
		<dc:creator>Adrian Kuhn</dc:creator>
		<pubDate>Wed, 15 Oct 2008 06:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180674</guid>
		<description>&quot;Thought points&quot; ... I like that.

Do you have a reference how to compute these? ^^</description>
		<content:encoded><![CDATA[<p>&#8220;Thought points&#8221; &#8230; I like that.</p>
<p>Do you have a reference how to compute these? ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180642</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Wed, 15 Oct 2008 04:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180642</guid>
		<description>@anjan: &quot;50K lines in python in the 90s -- I&#039;d assume that you didn&#039;t use a lot of libraries ?&quot;

There were much less libraries than today.</description>
		<content:encoded><![CDATA[<p>@anjan: &#8220;50K lines in python in the 90s &#8212; I&#8217;d assume that you didn&#8217;t use a lot of libraries ?&#8221;</p>
<p>There were much less libraries than today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anjan bacchu</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180577</link>
		<dc:creator>anjan bacchu</dc:creator>
		<pubDate>Wed, 15 Oct 2008 01:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180577</guid>
		<description>hi stephan,

  50K lines in python in the 90s -- I&#039;d assume that you didn&#039;t use a lot of libraries ? These days if one writes java code, given the frameworks and libraries, there is little java code that you yourself have to write -- atleast, that is the case in 80% of the projects.

  So, I&#039;d say that 50K lines of your python code would have a good amount of infrastructure code. So, that would mean NOT MORE than 150K lines of java code today. Again depends on the shop and what frameworks and libraries and maturity of teams/developers used.

  I worked on a banking application with about a 250K lines of JAVA CODE with about 70-100 libraries. Although 20% of the application code could have been reduced by refactoring and reworking, I would still call that a LARGE project. Whether it is VERY LARGE, I am not sure BUT I&#039;m almost sure none of us could grasp the entire codebase at any point of time.

  I&#039;m interested, as you, to find out other&#039;s opinions.

BR,
~A</description>
		<content:encoded><![CDATA[<p>hi stephan,</p>
<p>  50K lines in python in the 90s &#8212; I&#8217;d assume that you didn&#8217;t use a lot of libraries ? These days if one writes java code, given the frameworks and libraries, there is little java code that you yourself have to write &#8212; atleast, that is the case in 80% of the projects.</p>
<p>  So, I&#8217;d say that 50K lines of your python code would have a good amount of infrastructure code. So, that would mean NOT MORE than 150K lines of java code today. Again depends on the shop and what frameworks and libraries and maturity of teams/developers used.</p>
<p>  I worked on a banking application with about a 250K lines of JAVA CODE with about 70-100 libraries. Although 20% of the application code could have been reduced by refactoring and reworking, I would still call that a LARGE project. Whether it is VERY LARGE, I am not sure BUT I&#8217;m almost sure none of us could grasp the entire codebase at any point of time.</p>
<p>  I&#8217;m interested, as you, to find out other&#8217;s opinions.</p>
<p>BR,<br />
~A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180382</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Tue, 14 Oct 2008 20:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180382</guid>
		<description>@seiju: Yes, as I&#039;ve said, thought points are much better than LOC. From my feeling Python is not more than 5x smaller than Java though [*]. 

So 50k of Python code are at most corresponding to 250k of Java code, which is not a very large project. 


&lt;i&gt;[*] comparing e.g. list comprehensions in Python or closures in Ruby with Google Collections examples. But I would be very interested in a comparison of a LOC factor of Python, Ruby, Scala and Java.&lt;/i&gt;</description>
		<content:encoded><![CDATA[<p>@seiju: Yes, as I&#8217;ve said, thought points are much better than LOC. From my feeling Python is not more than 5x smaller than Java though [*]. </p>
<p>So 50k of Python code are at most corresponding to 250k of Java code, which is not a very large project. </p>
<p><i>[*] comparing e.g. list comprehensions in Python or closures in Ruby with Google Collections examples. But I would be very interested in a comparison of a LOC factor of Python, Ruby, Scala and Java.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seiju</title>
		<link>http://codemonkeyism.com/50k-lines-considered-very-large/comment-page-1/#comment-180374</link>
		<dc:creator>seiju</dc:creator>
		<pubDate>Tue, 14 Oct 2008 19:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/14/50k-lines-considered-very-large/#comment-180374</guid>
		<description>&lt;1k very small project
1k-10k small project
10k-100k medium project
&gt;100k large project
xk very large project
But this measure will change according to what language we are using, of course.</description>
		<content:encoded><![CDATA[<p>&lt;1k very small project<br />
1k-10k small project<br />
10k-100k medium project<br />
&gt;100k large project<br />
xk very large project<br />
But this measure will change according to what language we are using, of course.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (user agent is rejected)
Database Caching 4/20 queries in 0.030 seconds using disk

Served from: codemonkeyism.com @ 2012-02-10 06:45:19 -->
