<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Reading Code</title>
	<link>http://www.airs.com/blog/archives/216</link>
	<description>Ian Lance Taylor</description>
	<pubDate>Tue, 18 Nov 2008 22:00:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>

	<item>
 		<title>Comment on Reading Code by: Ian Lance Taylor</title>
		<link>http://www.airs.com/blog/archives/216#comment-14466</link>
		<pubDate>Tue, 15 Jul 2008 06:16:02 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14466</guid>
					<description>Thanks for all the great comments.  Many of them are new to me.  I'm especially glad to hear that there is a course.

glibc has individual bits of good code, but as a whole is overly complex, with sparsely documented interdependencies between different parts.</description>
		<content:encoded><![CDATA[	<p>Thanks for all the great comments.  Many of them are new to me.  I&#8217;m especially glad to hear that there is a course.</p>
	<p>glibc has individual bits of good code, but as a whole is overly complex, with sparsely documented interdependencies between different parts.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: Jonathan</title>
		<link>http://www.airs.com/blog/archives/216#comment-14464</link>
		<pubDate>Tue, 15 Jul 2008 04:54:20 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14464</guid>
					<description>&quot;Three beautiful quicksorts&quot; http://video.google.com/videoplay?docid=-1031789501179533828 addresses the issue and relates, IIRC, to this book http://oreilly.com/catalog/9780596510046/toc.html</description>
		<content:encoded><![CDATA[	<p>&#8220;Three beautiful quicksorts&#8221; <a href='http://video.google.com/videoplay?docid=-1031789501179533828' rel='nofollow'>http://video.google.com/videoplay?docid=-1031789501179533828</a> addresses the issue and relates, IIRC, to this book <a href='http://oreilly.com/catalog/9780596510046/toc.html' rel='nofollow'>http://oreilly.com/catalog/9780596510046/toc.html</a>
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: ncm</title>
		<link>http://www.airs.com/blog/archives/216#comment-14456</link>
		<pubDate>Mon, 14 Jul 2008 07:16:50 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14456</guid>
					<description>I don't have any suggestions, but I will note the programming proverb, &quot;Hell is other people's code.&quot;

On a slightly different topic, I have encountered Google's C++ coding style standard, and I can say without reservation that it has markedly reduced my perception of Google as an organization that values competence and taste.  The only grace that comes to mind is that I have seen worse.</description>
		<content:encoded><![CDATA[	<p>I don&#8217;t have any suggestions, but I will note the programming proverb, &#8220;Hell is other people&#8217;s code.&#8221;</p>
	<p>On a slightly different topic, I have encountered Google&#8217;s C++ coding style standard, and I can say without reservation that it has markedly reduced my perception of Google as an organization that values competence and taste.  The only grace that comes to mind is that I have seen worse.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: Pádraig Brady</title>
		<link>http://www.airs.com/blog/archives/216#comment-14448</link>
		<pubDate>Sat, 12 Jul 2008 22:40:46 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14448</guid>
					<description>&quot;There should be a course in which all the students read and discuss a large program, like a literature class&quot;

Absolutely! This would be a brilliant way to learn.

The coreutils &quot;novel&quot; might be appropriate.
Each &quot;chapter&quot; is quite digestible and varied.

http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=tree;f=src;</description>
		<content:encoded><![CDATA[	<p>&#8220;There should be a course in which all the students read and discuss a large program, like a literature class&#8221;</p>
	<p>Absolutely! This would be a brilliant way to learn.</p>
	<p>The coreutils &#8220;novel&#8221; might be appropriate.<br />
Each &#8220;chapter&#8221; is quite digestible and varied.</p>
	<p><a href='http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=tree;f=src;' rel='nofollow'>http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=tree;f=src;</a>
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: misham</title>
		<link>http://www.airs.com/blog/archives/216#comment-14447</link>
		<pubDate>Sat, 12 Jul 2008 21:13:52 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14447</guid>
					<description>I agree with BOOST.  Their code is a great example of how to write in C++ and the code stays way ahead of C Library.

I would also recommend &quot;Code Complete&quot; by Steve Mcconnell (http://www.cc2e.com/) on general coding practices as well.  It's quite a read, but you can skip around and get what you need out of it.  

For C, I like to look at the Linux Kernel source.  You'll encounter all types of code from really bad to some brilliant implementations of various algorithms.  The documentation is not as great as it could be, but there is a lot of community support and books on the code.  You will also get code from very modern to really really old.  You can look at support for &quot;ancient&quot; hardware to the latest wireless and embedded platforms.

For Python, I like the Trac project by Edgewall (http://trac.edgewall.org/).  They provide very good documentation and clear code.

For Objective-C / Cocoa, Adium and Growl are good places to look.  They use a lot of the frameworks Cocoa provides and are actively developed.</description>
		<content:encoded><![CDATA[	<p>I agree with BOOST.  Their code is a great example of how to write in C++ and the code stays way ahead of C Library.</p>
	<p>I would also recommend &#8220;Code Complete&#8221; by Steve Mcconnell (http://www.cc2e.com/) on general coding practices as well.  It&#8217;s quite a read, but you can skip around and get what you need out of it.  </p>
	<p>For C, I like to look at the Linux Kernel source.  You&#8217;ll encounter all types of code from really bad to some brilliant implementations of various algorithms.  The documentation is not as great as it could be, but there is a lot of community support and books on the code.  You will also get code from very modern to really really old.  You can look at support for &#8220;ancient&#8221; hardware to the latest wireless and embedded platforms.</p>
	<p>For Python, I like the Trac project by Edgewall (http://trac.edgewall.org/).  They provide very good documentation and clear code.</p>
	<p>For Objective-C / Cocoa, Adium and Growl are good places to look.  They use a lot of the frameworks Cocoa provides and are actively developed.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: Lance R.</title>
		<link>http://www.airs.com/blog/archives/216#comment-14445</link>
		<pubDate>Sat, 12 Jul 2008 16:55:05 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14445</guid>
					<description>This is also getting a bit long in the tooth, but &quot;A Retargetable C Compiler: Design and Implementation&quot; by Fraser and Hanson is a good read and another example of Knuth's &quot;Literate Programming&quot; presentation style.</description>
		<content:encoded><![CDATA[	<p>This is also getting a bit long in the tooth, but &#8220;A Retargetable C Compiler: Design and Implementation&#8221; by Fraser and Hanson is a good read and another example of Knuth&#8217;s &#8220;Literate Programming&#8221; presentation style.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: cian</title>
		<link>http://www.airs.com/blog/archives/216#comment-14444</link>
		<pubDate>Sat, 12 Jul 2008 10:46:03 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14444</guid>
					<description>The SEI at Carnegie-Mellon have a course based around reading code -

&quot;Reading Computer Programs: Instructor's Guide and Exercises&quot;
- by Lionel Deimel and Fernando J. Naveda
http://www.sei.cmu.edu/publications/documents/ems/90.em.003.html

It's interesting reading.

Cian</description>
		<content:encoded><![CDATA[	<p>The SEI at Carnegie-Mellon have a course based around reading code -</p>
	<p>&#8220;Reading Computer Programs: Instructor&#8217;s Guide and Exercises&#8221;<br />
- by Lionel Deimel and Fernando J. Naveda<br />
<a href='http://www.sei.cmu.edu/publications/documents/ems/90.em.003.html' rel='nofollow'>http://www.sei.cmu.edu/publications/documents/ems/90.em.003.html</a></p>
	<p>It&#8217;s interesting reading.</p>
	<p>Cian
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Reading Code by: jldugger</title>
		<link>http://www.airs.com/blog/archives/216#comment-14441</link>
		<pubDate>Sat, 12 Jul 2008 03:08:34 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/216#comment-14441</guid>
					<description>How about glibc or BOOST?

We read some stdlib functions in class, and BOOST seems like more of the same but with more documentation.</description>
		<content:encoded><![CDATA[	<p>How about glibc or BOOST?</p>
	<p>We read some stdlib functions in class, and BOOST seems like more of the same but with more documentation.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
