The Artima Developer Community
Sponsored Link

Java Buzz Forum
Sprinkle READMEs liberally

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Chris Winters

Posts: 931
Nickname: cwinters
Registered: Jul, 2003

Daytime: Java hacker; nighttime: Perl hacker; sleeptime: some of both.
Sprinkle READMEs liberally Posted: Oct 29, 2003 10:07 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Chris Winters.
Original Post: Sprinkle READMEs liberally
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/search/registrar.php?domain=jroller.com®istrar=sedopark
Feed Description: Chris Winters on Java, programming and technology, usually in that order.
Latest Java Buzz Posts
Latest Java Buzz Posts by Chris Winters
Latest Posts From cwinters.com

Advertisement
I don't know of many developer traditions as cross-platform and widespread as the README file. (Also found as README.txt) This mainly used at the project level. Just stick one in the project's root directory to give the reader some idea of what your project does, how to build it (if necessary) and possibly even how to run it. For me this is the first and most basic test of an opensource project -- if you don't have a README I won't even bother to build it. What's the point?

But there's no reason we can't use that history to our advantage for other tasks. For instance, in OpenInteract2 1 I put READMEs in all the 'sample/' directories to let people know their purpose. Did I have to? No, I could just rely on them to read the system documentation and learn that these files are used when creating a new website or package.

But good developers have a tendency to wander around the source tree to see what else is there, how it fits. Why not put the explanation as close to the encounter as possible? This lets the system to reveal itself a bit at a time but still enables people to understand how the pieces fit together.

While you're writing something it always makes perfect sense -- you're working in that area of the system, you have its meanings and relationships loaded into your L1 cache, it all gels. But the person coming into your system fresh doesn't have this. These connections not only aren't in the cache, they're not in memory. So you tell yourself that anyone reading files in a particular directory can go to longterm storage (system docs) to find the connections to the rest of the system. But these users don't know enough to find those either! So the people using your system just kind of muddle through, hoping that enough sticks so that when they read about it later they'll be able to make the connections. Why not make life easier for these folks? (Incidentally "these folks" includes you, six months from now...)

1 search.cpan.org notes the special nature of READMEs by pulling them out into a separate section at the bottom of the distribution listing, see the OI2 distribution for an example.

Read: Sprinkle READMEs liberally

Topic: American Mobile Thoughts Previous Topic   Next Topic Topic: braindump(

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use